Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 22 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,24 +24,33 @@ jobs:
include:
- name: ubu22
os: ubuntu-22.04
micromamba_shell_init: bash
- name: ubu22-analyzers
os: ubuntu-22.04
coverage: true
extra_cmake_flags: -DCMAKE_BUILD_TYPE=Debug
micromamba_shell_init: bash
- name: osx13-x86
os: macos-13
micromamba_shell_init: bash
- name: osx14-arm
os: macos-14
micromamba_shell_init: bash
- name: Windows22
os: windows-2022
micromamba_shell_init: cmd.exe

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: install mamba
uses: mamba-org/provision-with-micromamba@main
uses: mamba-org/setup-micromamba@main
with:
environment-file: environment-dev.yml
init-shell: >-
${{ matrix.micromamba_shell_init }}
environment-name: xeus-cpp

- name: micromamba shell hook
Expand All @@ -56,10 +65,9 @@ jobs:
run: |
$HOME/micromamba-bin/micromamba install cxx-compiler -c conda-forge -y


- name: cmake configure
if: ${{ runner.os == 'windows' }}
shell: cmd
shell: cmd /C call {0}
run: |
call C:\Users\runneradmin\micromamba-root\condabin\micromamba.bat activate xeus-cpp
mkdir -p build
Expand All @@ -80,7 +88,7 @@ jobs:

- name: build & install
if: ${{ runner.os == 'windows' }}
shell: cmd
shell: cmd /C call {0}
run: |
call C:\Users\runneradmin\micromamba-root\condabin\micromamba.bat activate xeus-cpp
cd build
Expand Down Expand Up @@ -126,7 +134,7 @@ jobs:

- name: Upload to codecov.io
if: ${{ success() && (matrix.coverage == true) }}
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
file: ./coverage.info

Expand All @@ -144,14 +152,19 @@ jobs:
fail-fast: false
matrix:
emsdk_ver: ["3.1.45"]
micromamba_shell_init: ["bash"]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Install mamba
uses: mamba-org/provision-with-micromamba@main
- name: install mamba
uses: mamba-org/setup-micromamba@main
with:
environment-file: environment-wasm-build.yml
init-shell: >-
${{ matrix.micromamba_shell_init }}
environment-name: xeus-cpp-wasm-build

- name: Setup emsdk
Expand Down