Browse Source

Update the github actions with DLSS

Panagiotis Christopoulos Charitos 3 years ago
parent
commit
52fff96d1d
2 changed files with 33 additions and 2 deletions
  1. 17 0
      .github/workflows/Linux.yml
  2. 16 2
      .github/workflows/Windows.yml

+ 17 - 0
.github/workflows/Linux.yml

@@ -92,3 +92,20 @@ jobs:
 
     - name: Build
       run: cmake --build ${{github.workspace}}/build --config Release
+
+  DLSS:
+    name: "DLSS"
+    runs-on: ubuntu-latest
+
+    steps:
+    - name: Install dependencies
+      run: sudo apt install libx11-dev libx11-xcb-dev clang gcc
+
+    - name: Clone
+      uses: actions/checkout@v2
+
+    - name: Configure CMake
+      run: cmake -B ${{github.workspace}}/build -DANKI_BUILD_TESTS=OFF -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang -DCMAKE_BUILD_TYPE=Release -DANKI_EXTRA_CHECKS=ON -DANKI_DLSS=ON
+
+    - name: Build
+      run: cmake --build ${{github.workspace}}/build --config Release --target Sponza

+ 16 - 2
.github/workflows/Windows.yml

@@ -20,7 +20,7 @@ jobs:
 
     - name: Build
       run: cmake --build ${{github.workspace}}/build --config Debug
-      
+
   Release:
     name: "Release"
     runs-on: windows-latest
@@ -30,7 +30,21 @@ jobs:
       uses: actions/checkout@v2
 
     - name: Configure CMake
-      run: cmake -B ${{github.workspace}}/build -DANKI_BUILD_TESTS=ON -DCMAKE_BUILD_TYPE=Debug -DANKI_EXTRA_CHECKS=OFF
+      run: cmake -B ${{github.workspace}}/build -DANKI_BUILD_TESTS=ON -DCMAKE_BUILD_TYPE=Release -DANKI_EXTRA_CHECKS=OFF
 
     - name: Build
       run: cmake --build ${{github.workspace}}/build --config Release
+
+  Release:
+    name: "DLSS"
+    runs-on: windows-latest
+
+    steps:
+    - name: Clone
+      uses: actions/checkout@v2
+
+    - name: Configure CMake
+      run: cmake -B ${{github.workspace}}/build -DANKI_BUILD_TESTS=OFF -DCMAKE_BUILD_TYPE=Release -DANKI_EXTRA_CHECKS=OFF -DANKI_DLSS=ON
+
+    - name: Build
+      run: cmake --build ${{github.workspace}}/build --config Release --target Sponza