32 lines
673 B
YAML
32 lines
673 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches: [ "main" ]
|
|
pull_request:
|
|
branches: [ "main" ]
|
|
|
|
jobs:
|
|
build-linux-and-wasm:
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: read
|
|
packages: read
|
|
container:
|
|
image: ghcr.io/i-a-s/iabuild-env:latest
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
target: [x64-linux]
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Install OpenSSL v3 (System)
|
|
run: sudo apt-get update && sudo apt-get install -y libssl-dev
|
|
|
|
- name: Configure
|
|
run: cmake --preset ${{ matrix.target }}
|
|
|
|
- name: Build
|
|
run: cmake --build --preset ${{ matrix.target }} --config Release
|