mirror of
https://github.com/danog/gllvm.git
synced 2024-11-26 17:24:44 +01:00
31 lines
443 B
YAML
31 lines
443 B
YAML
name: Go
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Set up Go
|
|
uses: actions/setup-go@v3
|
|
with:
|
|
go-version: 1.16
|
|
|
|
- name: Install LLVM
|
|
run: sudo apt-get install -y clang llvm
|
|
|
|
- name: Build
|
|
run: go build -v ./...
|
|
|
|
- name: Test
|
|
run: go test -v ./tests
|