aboutsummaryrefslogtreecommitdiff
path: root/.gitea/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.gitea/workflows')
-rw-r--r--.gitea/workflows/renovate.yml25
-rw-r--r--.gitea/workflows/test.yml55
2 files changed, 0 insertions, 80 deletions
diff --git a/.gitea/workflows/renovate.yml b/.gitea/workflows/renovate.yml
deleted file mode 100644
index b0132fc..0000000
--- a/.gitea/workflows/renovate.yml
+++ /dev/null
@@ -1,25 +0,0 @@
-name: RenovateBot
-
-on:
- schedule:
- - cron: "@daily"
-
-jobs:
- renovate:
- container: ghcr.io/renovatebot/renovate:44
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout code
- uses: actions/checkout@v7
-
- - name: Run renovate
- run: |
- renovate
- env:
- GITHUB_COM_TOKEN: ${{ secrets.RENOVATE_GITHUB_TOKEN }}
- LOG_LEVEL: ${{ vars.RENOVATE_LOG_LEVEL }}
- RENOVATE_CONFIG_FILE: renovate.config.cjs
- RENOVATE_LOG_LEVEL: ${{ vars.RENOVATE_LOG_LEVEL }}
- RENOVATE_REPOSITORIES: ${{ gitea.repository }}
- RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }}
diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml
deleted file mode 100644
index f092222..0000000
--- a/.gitea/workflows/test.yml
+++ /dev/null
@@ -1,55 +0,0 @@
-name: Test
-
-on: [push, pull_request]
-
-jobs:
- lint:
- name: Lint
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v7
- - uses: dtolnay/rust-toolchain@stable
- with:
- components: clippy
- - name: Cargo check
- run: cargo check --workspace --all-targets --all-features
- - name: Clippy (deny warnings)
- run: cargo clippy --workspace --all-targets --all-features -- -D warnings
-
- test:
- name: Test
- runs-on: ubuntu-latest
- needs: lint
- steps:
- - uses: actions/checkout@v7
- - uses: dtolnay/rust-toolchain@stable
- - name: Cargo test
- run: cargo test --workspace --all-features -- --nocapture
-
- render-parity:
- name: Render parity
- runs-on: ubuntu-latest
- needs: test
- steps:
- - uses: actions/checkout@v7
- - uses: dtolnay/rust-toolchain@stable
- - name: Install headless GL runtime
- run: |
- sudo apt-get update
- sudo apt-get install -y xvfb libgl1-mesa-dri libgles2-mesa-dev mesa-utils
- - name: Build render-demo binary
- run: cargo build -p render-demo --features demo
- - name: Run frame parity suite
- run: |
- xvfb-run -s "-screen 0 1280x720x24" cargo run -p render-parity -- \
- --manifest parity/cases.toml \
- --output-dir target/render-parity/current \
- --demo-bin target/debug/parkan-render-demo \
- --keep-going
- - name: Upload parity artifacts
- if: always()
- uses: actions/upload-artifact@v7
- with:
- name: render-parity-artifacts
- path: target/render-parity/current
- if-no-files-found: ignore