Merge pull request #102 from Woazboat/github-actions-ci

Configure github actions CI compile check
This commit is contained in:
StefanSchippers 2023-05-06 10:07:31 +02:00 committed by GitHub
commit 1faa2bbac5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 25 additions and 0 deletions

25
.github/workflows/ci.yaml vendored Normal file
View File

@ -0,0 +1,25 @@
name: CI checks
on: [ push, pull_request ]
jobs:
build:
runs-on: ubuntu-latest
name: Compilation
steps:
- name: Install dependencies
run: sudo apt-get install -y flex bison gawk tcl tcl-dev tk tk-dev libcairo2 libcairo2-dev xcb libxcb1 libxcb1-dev libxrender-dev libxpm-dev libxcb-render0-dev libx11-xcb1 libx11-xcb-dev
- name: Checkout source
uses: actions/checkout@v3
- name: configure
run: ./configure
- name: make
run: make
- name: Archive compiled binary
uses: actions/upload-artifact@v3
with:
name: xschem
path: src/xschem