Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
jbreue16 committed Nov 21, 2024
1 parent 3da001f commit 9dba4a5
Showing 1 changed file with 16 additions and 12 deletions.
28 changes: 16 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,26 +14,30 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3

- name: Ensure Chocolatey is installed
run: |
if (-Not (Test-Path "C:\ProgramData\Chocolatey\bin\choco.exe")) {
Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
}
choco upgrade chocolatey -y
- name: Install system dependencies
run: |
# Install Chocolatey, which is a package manager for Windows
Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
# Install required packages using Chocolatey
choco install -y \
cmake \
7zip \
7zip.install \
mingw \
make \
gcc \
g++ \
eigen3 \
hdf5
make
- name: Download CADET-semi-analytic dependencies
run: |
# Download and build the required libraries if needed
# You can add additional download and extraction commands here if required for Project B
# Download and extract Eigen3
Invoke-WebRequest -Uri "https://gitlab.com/libeigen/eigen/-/archive/master/eigen-master.zip" -OutFile "eigen.zip"
7z x eigen.zip -o"eigen"
# Download and extract HDF5
Invoke-WebRequest -Uri "https://www.hdfgroup.org/package/cmake-hdf5-1-14-0-zip/?wpdmdl=17553" -OutFile "hdf5.zip"
7z x hdf5.zip -o"hdf5"
- name: Create build directory
run: mkdir build && cd build
Expand Down

0 comments on commit 9dba4a5

Please sign in to comment.