Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/doitsujin/dxvk.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Ashton <joshua@froggi.es>2021-02-27 15:56:53 +0300
committerJoshua Ashton <joshua@froggi.es>2021-02-27 15:56:53 +0300
commit869190964fa6acffd191bdcf956c3fb85631d16e (patch)
tree95d442457188e13ff6374d10c3c6fa248372e3b5 /.github
parentd51562fc9a38f493da7d22118a8c6d715e6b5e67 (diff)
[build] Add Github Actions workflows
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/artifacts.yml34
1 files changed, 34 insertions, 0 deletions
diff --git a/.github/workflows/artifacts.yml b/.github/workflows/artifacts.yml
new file mode 100644
index 00000000..ea7c969b
--- /dev/null
+++ b/.github/workflows/artifacts.yml
@@ -0,0 +1,34 @@
+name: Artifacts (Package)
+
+on: [push, pull_request, workflow_dispatch]
+
+jobs:
+ build-artifacts:
+ runs-on: ubuntu-20.04
+
+ steps:
+ - name: Checkout code
+ id: checkout-code
+ uses: actions/checkout@v2
+ with:
+ submodules: recursive
+
+ - name: Setup problem matcher
+ uses: Joshua-Ashton/gcc-problem-matcher@v1
+
+ - name: Build release
+ id: build-release
+ uses: Joshua-Ashton/arch-mingw-github-action@v5
+ with:
+ command: |
+ export VERSION_NAME="${GITHUB_REF##*/}-${GITHUB_SHA##*/}"
+ ./package-release.sh ${VERSION_NAME} build --no-package
+ echo "VERSION_NAME=${VERSION_NAME}" >> $GITHUB_ENV
+
+ - name: Upload artifacts
+ id: upload-artifacts
+ uses: actions/upload-artifact@v2
+ with:
+ name: dxvk-${{ env.VERSION_NAME }}
+ path: build/dxvk-${{ env.VERSION_NAME }}
+ if-no-files-found: error