diff --git a/.github/workflows/package-obs.yml b/.github/workflows/package-obs.yml deleted file mode 100644 index 5b94232..0000000 --- a/.github/workflows/package-obs.yml +++ /dev/null @@ -1,61 +0,0 @@ -name: build Linux packages with Open Build Service - -on: - pull_request_target: - branches: [ "master" ] -env: - CARGO_TERM_COLOR: always - -jobs: - approve-obs-build: - name: "approval" - runs-on: ubuntu-latest - steps: - - name: Approve - run: echo OBS build CI test runs need to be approved by a maintainer. - build-obs-binary: - environment: - name: obs-build-env - strategy: - matrix: - include: - - repo: Fedora_40 - spec: librashader.spec - can_fail: true - name: Fedora 40 (.rpm) - - repo: xUbuntu_24.04 - spec: librashader.spec - can_fail: true - name: Ubuntu 24.04 (.deb) - runs-on: ubuntu-latest - needs: [approve-obs-build] - continue-on-error: ${{ matrix.can_fail }} - name: ${{ matrix.name }} - container: - image: fedora:39 - options: --privileged - steps: - - name: Checkout repository - uses: actions/checkout@v4 - - name: Install OSC and dependencies - env: - OBS_CONFIG: ${{ secrets.OBS_CONFIG }} - run: | - sudo dnf install -y osc obs-service-obs_scm obs-service-cargo_vendor cargo python3-zstandard - mkdir -p ~/.config/osc - echo "$OBS_CONFIG" > ~/.config/osc/oscrc - - name: Checkout Open Build Service repository - run: | - osc co home:chyyran:librashader/librashader - - name: Copy spec from repository - run: | - cp -r ./pkg/obs/ home:chyyran:librashader/librashader/ - sed -r -i 's/()(.+)(<\/param>)/${{ github.sha }}<\/param>/g' home:chyyran:librashader/librashader/_service - - name: Vendor sources for Open Build Service - run: | - cd home:chyyran:librashader/librashader/ - osc service mr - - name: Build package - run: | - cd home:chyyran:librashader/librashader/ - osc build --no-verify --trust-all-projects ${{ matrix.repo }} x86_64 ${{ matrix.spec }} diff --git a/.github/workflows/pr-full-test.yml b/.github/workflows/pr-full-test.yml deleted file mode 100644 index 644cbc9..0000000 --- a/.github/workflows/pr-full-test.yml +++ /dev/null @@ -1,83 +0,0 @@ -name: integration test shader reflection - -on: - pull_request: - branches: [ "master" ] -env: - CARGO_TERM_COLOR: always - -jobs: - approve-full-test: - name: "approval" - runs-on: ubuntu-latest - steps: - - name: Approve - run: echo Full test suite for PRs needs approval by a maintainer - test-presets: - runs-on: ubuntu-latest - continue-on-error: false - environment: - name: full-test - needs: [approve-full-test] - steps: - - name: Checkout repository - uses: actions/checkout@v4 - with: - submodules: recursive - - name: Install nightly Rust - uses: dtolnay/rust-toolchain@nightly - with: - toolchain: nightly - - name: Test preset processing - run: cargo test -p librashader --features=github-ci --test reflect -- --nocapture preprocess_all_slang_presets_parsed - test-naga: - runs-on: ubuntu-latest - continue-on-error: false - environment: - name: full-test - needs: [ approve-full-test ] - steps: - - name: Checkout repository - uses: actions/checkout@v4 - with: - submodules: recursive - - name: Install nightly Rust - uses: dtolnay/rust-toolchain@nightly - with: - toolchain: nightly - - name: Test Naga reflection - run: cargo test -p librashader --features=github-ci --test reflect -- --nocapture compile_all_slang_presets_wgsl_naga compile_all_slang_presets_msl_naga compile_all_slang_presets_spirv_naga - test-cross: - runs-on: ubuntu-latest - continue-on-error: false - environment: - name: full-test - needs: [ approve-full-test ] - steps: - - name: Checkout repository - uses: actions/checkout@v4 - with: - submodules: recursive - - name: Install nightly Rust - uses: dtolnay/rust-toolchain@nightly - with: - toolchain: nightly - - name: Test SPIRV-Cross - run: cargo test -p librashader --features=github-ci --test reflect -- --nocapture compile_all_slang_presets_msl_cross compile_all_slang_presets_glsl_cross compile_all_slang_presets_hlsl_cross compile_all_slang_presets_spirv_cross - test-dxil: - runs-on: windows-latest - continue-on-error: false - environment: - name: full-test - needs: [ approve-full-test ] - steps: - - name: Checkout repository - uses: actions/checkout@v4 - with: - submodules: recursive - - name: Install nightly Rust - uses: dtolnay/rust-toolchain@nightly - with: - toolchain: nightly - - name: Test DXIL - run: cargo test -p librashader --features=github-ci --test reflect -- --nocapture compile_all_slang_presets_dxil_cross \ No newline at end of file