@@ -6,26 +6,12 @@ jobs:
|
|||||||
Run tests:
|
Run tests:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
container:
|
||||||
|
image: evol-testbed:latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Install LLVM
|
- name: Configure
|
||||||
run: |
|
run: meson setup build
|
||||||
wget https://apt.llvm.org/llvm.sh
|
|
||||||
chmod +x llvm.sh
|
|
||||||
sudo ./llvm.sh 22
|
|
||||||
sudo apt-get update
|
|
||||||
- uses: actions/setup-python@v6
|
|
||||||
with:
|
|
||||||
python-version: '3.13'
|
|
||||||
- name: Install dependencies
|
|
||||||
run: |
|
|
||||||
python3 -m venv .venv
|
|
||||||
. .venv/bin/activate
|
|
||||||
echo "$PWD/.venv/bin" >> "$GITHUB_PATH"
|
|
||||||
python -m pip install --upgrade pip
|
|
||||||
python -m pip install meson
|
|
||||||
python -m pip install ninja
|
|
||||||
- name: Setup build directory
|
|
||||||
run: meson setup --native-file=build_options/meson-clang-linux build
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: meson test -C build
|
run: meson test -C build
|
||||||
|
|||||||
@@ -1,30 +0,0 @@
|
|||||||
name: Validate testbed
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
pull_request:
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
linux:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
container:
|
|
||||||
image: git.neosisyphus.com/evol3d/evol-testbed:clang22
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Check toolchain
|
|
||||||
run: |
|
|
||||||
clang --version
|
|
||||||
clang++ --version
|
|
||||||
meson --version
|
|
||||||
ninja --version
|
|
||||||
python3 --version
|
|
||||||
vulkaninfo --summary || true
|
|
||||||
|
|
||||||
- name: Configure
|
|
||||||
run: |
|
|
||||||
meson setup build
|
|
||||||
- name: Build
|
|
||||||
run: |
|
|
||||||
meson compile -C build
|
|
||||||
Reference in New Issue
Block a user