ci: Enable format warnings for native builds on CI. #56
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@v4 | |
with: | |
submodules: recursive | |
- name: Build release | |
id: build-release | |
uses: Joshua-Ashton/arch-mingw-github-action@v8 | |
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@v4 | |
with: | |
name: vkd3d-proton-${{ env.VERSION_NAME }} | |
path: build/vkd3d-proton-${{ env.VERSION_NAME }} | |
if-no-files-found: error |