Skip to content

Cd to dir

Cd to dir #10

Workflow file for this run

name: Windows Build
on:
push:
branches: [ "gh-pipeline" ]
pull_request:
branches: [ "gh-pipeline" ]
jobs:
build-and-upload:
strategy:
matrix:
os: [windows-latest]
arch: [x64]
runs-on: ${{matrix.os}}
steps:
- name: Install GCC x64
if: ${{ matrix.arch == 'x64' }}
# Shell must be a valid built-in (bash, sh, cmd, powershell, pwsh)
run: ridk exec pacman -S mingw-w64-ucrt-x86_64-gcc --noconfirm
- name: Checkout repo
uses: actions/checkout@v3
- name: Compile chsrc x64
run: cd D:\a\chsrc\chsrc ; ridk exec make
- name: Upload a Build Artifact
uses: actions/[email protected]
with:
# Artifact name
name: chsrc-windows-${{matrix.arch}}.exe
path: chsrc.exe
# The desired behavior if no files are found using the provided path.
warn: Output a warning but do not fail the action
error: Fail the action with an error message