Configure github CI

This commit is contained in:
Woazboat 2023-05-06 00:52:29 +02:00 committed by Florian Kargl
parent 4baf5f9803
commit 7048b00d5f
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