Skip to content

Commit

Permalink
Force rebuild.
Browse files Browse the repository at this point in the history
  • Loading branch information
wasabii committed Mar 23, 2024
1 parent f8a9476 commit 6debd6b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 22 deletions.
25 changes: 5 additions & 20 deletions .github/workflows/ikvm-native-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,44 +19,29 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Cache
uses: actions/cache@v4
with:
path: dist/win
key: dist--win--${{ runner.os }}--${{ hashFiles('win/build.sh') }}-3
- name: Check
id: dist-win-stamp
uses: andstor/file-existence-action@v3
with:
files: dist/win/stamp
- name: Install
if: steps.dist-win-stamp.outputs.files_exists != 'true'
if: steps.dist-stamp.outputs.files_exists != 'true'
run: |
sudo apt-get update &&
sudo apt-get install -y zip unzip curl wget
- name: Build
if: steps.dist-win-stamp.outputs.files_exists != 'true'
run: win/build.sh && touch dist/win/stamp

run: win/build.sh
- name: Package (win)
run: tar czvf /tmp/win.tar.gz win
working-directory: dist/win
working-directory: dist
- name: Upload (win)
uses: actions/upload-artifact@v4
with:
name: win
path: /tmp/win.tar.gz

- name: Package (win.ci)
run: tar czvf /tmp/win.ci.tar.gz win
working-directory: dist/win.ci
run: tar czvf /tmp/win.ci.tar.gz win.ci
working-directory: dist
- name: Upload (win.ci)
uses: actions/upload-artifact@v4
with:
name: win.ci
path: /tmp/win.ci.tar.gz

build-linux:
strategy:
matrix:
Expand Down
4 changes: 2 additions & 2 deletions win/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ curl --fail -L https://github.com/Jake-Shadle/xwin/releases/download/$xwin_versi


# with symlinks for case-sensitive file systems
dist="$(dirname "$0")/../dist/win/win"
dist="$(dirname "$0")/../dist/win"
rm -rf $dist
$bin/xwin --accept-license --cache-dir /tmp/xwincache --arch x86,x86_64,aarch,aarch64 splat --include-debug-libs --preserve-ms-arch-notation --output $dist

# without symlinks for case-insensitive file systems
dist="$(dirname "$0")/../dist/win/win.ci"
dist="$(dirname "$0")/../dist/win.ci"
rm -rf $dist
$bin/xwin --accept-license --cache-dir /tmp/xwincache --arch x86,x86_64,aarch,aarch64 splat --disable-symlinks --include-debug-libs --preserve-ms-arch-notation --output $dist

0 comments on commit 6debd6b

Please sign in to comment.