Skip to content

Merge pull request #14 from SofianeHamlaoui/patch-1 #10

Merge pull request #14 from SofianeHamlaoui/patch-1

Merge pull request #14 from SofianeHamlaoui/patch-1 #10

Workflow file for this run

name: GO/C/C++ CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v3
with:
go-version: '1.17'
- name: Install Compilers
run: |
sudo apt-get update
sudo apt-get install --yes build-essential pkgconf libelf-dev llvm-12 clang-12
for tool in "clang" "llc" "llvm-strip"
do
sudo rm -f /usr/bin/$tool
sudo ln -s /usr/bin/$tool-12 /usr/bin/$tool
done
shell: bash
- uses: actions/checkout@v2
- name: Build
run: make all
- name: Test
run: go test -v ./...