mirror of
https://github.com/aportelli/LatAnalyze.git
synced 2024-11-10 00:45:36 +00:00
first GitHub CI
This commit is contained in:
parent
d6e5ba724d
commit
a3054a0f44
25
.github/workflows/build-macos.yml
vendored
Normal file
25
.github/workflows/build-macos.yml
vendored
Normal file
@ -0,0 +1,25 @@
|
||||
name: Build macOS
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: macos-11
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- name: Install basic dependencies
|
||||
run: brew install automake autoconf libtool bison flex
|
||||
- name: Build dependencies
|
||||
shell: bash
|
||||
run: |
|
||||
export PATH=/usr/local/opt/flex/bin:/usr/local/opt/bison/bin:${PATH}
|
||||
cd ci-scripts
|
||||
./install-deps.sh prefix 6
|
||||
- name: Build LatAnalyze
|
||||
shell: bash
|
||||
run: |
|
||||
cd ci-scripts
|
||||
./install-latan.sh prefix 6
|
26
.github/workflows/build-ubuntu.yml
vendored
Normal file
26
.github/workflows/build-ubuntu.yml
vendored
Normal file
@ -0,0 +1,26 @@
|
||||
name: Build Ubuntu
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-20.04
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- name: Install basic dependencies
|
||||
run: |
|
||||
sudo bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)"
|
||||
sudo apt install cmake bison flex
|
||||
- name: Build dependencies
|
||||
shell: bash
|
||||
run: |
|
||||
cd ci-scripts
|
||||
CC=clang CXX=clang++ ./install-deps.sh prefix 6
|
||||
- name: Build LatAnalyze
|
||||
shell: bash
|
||||
run: |
|
||||
cd ci-scripts
|
||||
CC=clang CXX=clang++ ./install-latan.sh prefix 6
|
Loading…
Reference in New Issue
Block a user