Skip to content

ci: Should be fine without MINGW now #40

ci: Should be fine without MINGW now

ci: Should be fine without MINGW now #40

name: C/C++ CI and Release
on:
push:
workflow_dispatch: # Allow manual runs if needed
jobs:
build-and-release:
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.os == 'macos-latest' }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
include:
- os: ubuntu-latest
- os: windows-latest
extension: .exe
- os: macos-latest
steps:
- uses: actions/checkout@v4
# Build step - uses appropriate compiler and args based on OS
- name: Build Project
run: |
mkdir build
cd build
cmake ..
cmake --build .
- uses: actions/upload-artifact@v4
with:
name: Executable (${{ matrix.os }})
path: build/XanaduCLI${{ matrix.extension }}