name: Gitea Actions Demo run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀 on: [push] env: OS: windows cudnn_version: 8.9.4.25 cuda_version: cuda12.2 CMAKE_VER: 3.27.4 jobs: Explore-Gitea-Actions: runs-on: windows-latest #container: defaults: run: shell: powershell steps: - name: Check out repository code uses: actions/checkout@v3 # - run: Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Unrestricted - name: Install CUDA uses: Jimver/cuda-toolkit@v0.2.11 id: cuda-toolkit with: cuda: '12.2.0' - run: nvcc -V - name: Install CMake and Ninja uses: lukka/get-cmake@3.27.4 with: useLocalCache: true useCloudCache: false cmakeVersion: "~3.27.0" ninjaVersion: latest - name: Execute Gradle build run: | ./gradlew.bat build \ --stacktrace \ -Pmavenuser=${{ secrets.MAVENUSER }} \ -Pmavenpass=${{ secrets.MAVENPASS }} \ -PossrhUsername=${{ secrets.OSSRHUSERNAME }} \ -PossrhPassword=${{ secrets.OSSRHPASSWORD }} \ -PCAVIS_CHIP=cpu,cuda -Pskip-native=false \ >buildlog.txt 2>&1 - name: Upload log uses: actions/upload-artifact@v3 if: success() || failure() # run this step even if previous step failed with: name: Build-Log path: buildlog.txt - run: echo "This job's status is ${{ job.status }}."