re-added .github/workflows/ci.yaml

This commit is contained in:
stefan schippers 2025-05-05 12:50:31 +02:00
parent fcd7b96de7
commit 8f8b7e2247
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