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
+9
View File
@@ -0,0 +1,9 @@
FROM continuumio/miniconda3
RUN apt-get update
RUN apt-get -y install \
git gcc g++ autoconf bison make cmake libfreetype6-dev mesa-common-dev libffi-dev libfontconfig1-dev patch
COPY . .
RUN cd nix && python3 build-all.py
+1 -1
View File
@@ -75,7 +75,7 @@ ADD_COMMIT_SHA = os.getenv("ADD_COMMIT_SHA")
PYTHON_VERSIONS = ["3.6.14", "3.7.12", "3.8.12", "3.9.7", "3.10.0"]
JSON_VERSION = "v3.6.1"
OCE_VERSION = "0.18.3"
OCCT_VERSION = "7.5.3"
OCCT_VERSION = "7.6.2"
BOOST_VERSION = "1.71.0"
PCRE_VERSION = "8.41"
LIBXML2_VERSION = "2.9.11"