Adding GPU compute functions #386
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
pull_request: | |
jobs: | |
build-from-source: | |
name: build from source | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
feature: ["build-from-source"] | |
build_mode: [""] | |
os: [macos-latest, ubuntu-latest] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Linux dependencies | |
uses: ./.github/actions/install-linux-deps | |
- name: Build sdl3 | |
shell: bash | |
env: | |
CI_BUILD_FEATURES: "raw-window-handle" | |
RUST_TEST_THREADS: 1 | |
run: | | |
set -xeuo pipefail | |
rustc --version | |
cargo --version | |
cargo build --features "${CI_BUILD_FEATURES} ${{matrix.feature}}" ${{matrix.build_mode}} | |
cargo build --examples --features "${CI_BUILD_FEATURES} ${{matrix.feature}}" ${{matrix.build_mode}} |