@@ -1,5 +1,5 @@
|
|||||||
name: Run tests
|
name: Run tests
|
||||||
run-name: ${{ gitea.actor }} confirming that tests pass
|
run-name: Running Tests
|
||||||
on: [push]
|
on: [push]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
@@ -14,18 +14,20 @@ jobs:
|
|||||||
chmod +x llvm.sh
|
chmod +x llvm.sh
|
||||||
sudo ./llvm.sh 22
|
sudo ./llvm.sh 22
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
- uses: actions/setup-python@v6
|
|
||||||
|
- name: Install python & dependencies
|
||||||
|
uses: actions/setup-python@v6
|
||||||
with:
|
with:
|
||||||
python-version: '3.13'
|
python-version: '3.13'
|
||||||
- run: sudo apt update && sudo apt install -y meson
|
run: |
|
||||||
- run: meson setup --native-file=build_options/meson-clang-linux build
|
python3 -m venv .venv
|
||||||
- run: meson test -c build
|
. .venv/bin/activate
|
||||||
# - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
|
echo "$PWD/.venv/bin" >> "$GITHUB_PATH"
|
||||||
# - run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
|
python -m pip install --upgrade pip
|
||||||
# - name: Check out repository code
|
python -m pip install meson
|
||||||
# - run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
|
python -m pip install ninja
|
||||||
# - run: echo "🖥️ The workflow is now ready to test your code on the runner."
|
|
||||||
# - name: List files in the repository
|
- name: Setup build directory
|
||||||
# run: |
|
run: meson setup --native-file=build_options/meson-clang-linux build
|
||||||
# ls ${{ gitea.workspace }}
|
- name: Run tests
|
||||||
# - run: echo "🍏 This job's status is ${{ job.status }}."
|
run: meson test -C build
|
||||||
|
|||||||
Reference in New Issue
Block a user