Skip to content

CHG: Finished First cut of final observation merge from ADunn to Casal2. #67

CHG: Finished First cut of final observation merge from ADunn to Casal2.

CHG: Finished First cut of final observation merge from ADunn to Casal2. #67

name: Casal2 Windows Build
on:
push:
branches:
- master
jobs:
Compile-Casal2-Windows:
runs-on: windows-2022
timeout-minutes: 180
steps:
- name: Checkout Casal2
uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.13'
- name: Install python dependencies
run: python.exe -m pip install pytz python-dateutil --user --upgrade pip
- name: Install gcc
uses: bwoodsend/setup-winlibs-action@v1
with:
# see https://github.com/marketplace/actions/setup-winlibs
# and https://github.com/brechtsanders/winlibs_mingw/tags
tag: '14.2.0posix-19.1.1-12.0.0-ucrt-r2'
- name: Build third-party library - adolc
run: |
cd BuildSystem
./doBuild.bat thirdparty adolc
- name: Build third-party library - betadiff
run: |
cd BuildSystem
./doBuild.bat thirdparty betadiff
- name: Build third-party library - boost
run: |
cd BuildSystem
./doBuild.bat thirdparty boost
- name: Build third-party libraries - google test and mock
run: |
cd BuildSystem
./doBuild.bat thirdparty googletest_googlemock
- name: Build third-party libraries - parser
run: |
cd BuildSystem
./doBuild.bat thirdparty parser
- name: Build Unit Tests
run: |
cd BuildSystem
./doBuild.bat test
- name: Run Unit Tests
continue-on-error: false
run: |
cd BuildSystem/bin/windows_gcc/test
./casal2
- name: Build "ADOL-C" library
continue-on-error: true
run: |
cd BuildSystem
./doBuild.bat library adolc
- name: Build "Betadiff" library
continue-on-error: true
run: |
cd BuildSystem
./doBuild.bat library betadiff
- name: Build release library
run: |
cd BuildSystem
./doBuild.bat library release
- name: Build "Unit Test" library
run: |
cd BuildSystem
./doBuild.bat library test
- name: Build Frontend
run: |
cd BuildSystem
./doBuild.bat frontend
shell: bash
- name: Build Windows Archive
continue-on-error: true
run: |
cd BuildSystem
./doBuild.bat archive true
shell: bash
- name: Run Windows model runner
continue-on-error: false
run: |
cd BuildSystem
./doBuild.bat modelrunner
# - name: Build installer iss file
# run: |
# cd BuildSystem
# ./doBuild.bat installer
# - name: Archive Windows build
# continue-on-error: true
# uses: actions/upload-artifact@v4
# with:
# name: Casal2-Windows-build
# path: BuildSystem/Casal2
# retention-days: 1
# overwrite: true