Test nix builds

This commit is contained in:
krande
2022-08-10 09:36:19 +02:00
parent b59262bde9
commit af1e832f81
4 changed files with 39 additions and 2 deletions
+28
View File
@@ -0,0 +1,28 @@
name: ci_nix
on:
push:
paths:
- 'src/**'
- 'test/**'
- 'conda/**'
- 'cmake/**'
- '.github/workflows/ci-nix-build.yml'
pull_request:
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Install C++ dependencies
run: |
sudo apt update
sudo apt-get install --no-install-recommends \
git gcc g++ autoconf bison make cmake libfreetype6-dev mesa-common-dev libffi-dev libfontconfig1-dev patch
- name: Build ifcopenshell
run: |
cd nix && python3 build-all.py
+1 -1
View File
@@ -14,7 +14,7 @@ jobs:
activate:
runs-on: ubuntu-latest
if: |
github.repository == 'IfcOpenShell/IfcOpenShell' &&
github.repository == 'Krande/IfcOpenShell' &&
!contains(github.event.head_commit.message, 'skip ci')
steps:
- run: echo ok go