Skip to content

Commit

Permalink
add xmake to testing ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Yangff committed May 24, 2024
1 parent b318be8 commit e9fd594
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/linux-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,10 @@ jobs:
ubuntu-version: 22.04
- name: Setup Rust
uses: dtolnay/[email protected]
- name: Run sccache-cache
uses: mozilla-actions/[email protected]
- name: Setup xmake
uses: xmake-io/github-action-setup-xmake@v1
with:
xmake-version: latest
- name: Build
run: |
xmake f -y --ue4ssUI=TUI --ue4ssInput=y --ue4ssIsBeta=y -m "Game__Shipping__Linux"
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/windows-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,18 @@ jobs:
ssh-key: ${{ secrets.SSHKEY }}
- name: Setup MSVC
uses: ilammy/msvc-dev-cmd@v1
- name: Setup xmake
uses: xmake-io/github-action-setup-xmake@v1
with:
xmake-version: latest
- name: Setup Ninja
uses: seanmiddleditch/gha-setup-ninja@v3
- name: Setup Rust
uses: dtolnay/[email protected]
- name: Build
run: |
cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=Game__Shipping__Win64
cmake --build build
xmake f -m "Game__Shipping__Win64" -y
xmake build
- name: Upload Artifacts
uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit e9fd594

Please sign in to comment.