Skip to content

Commit d9934cd

Browse files
committed
测试CI文件
1 parent 656d34a commit d9934cd

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

.github/workflows/psv_release.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,24 +17,24 @@ jobs:
1717
prerelease: true
1818
title: "Development Build"
1919

20-
checkout:
21-
runs-on: ubuntu-latest
22-
steps:
23-
- name: Checkout repository
24-
uses: actions/checkout@v2
25-
2620
build-psv:
2721
name: Make (PS Vita)
28-
needs: checkout
2922
runs-on: ubuntu-latest
3023
container: gnuton/vitasdk-docker:20240612
3124
timeout-minutes: 30
3225
steps:
33-
- name: Build
34-
run: |
35-
export PATH="$VITASDK/bin:$PATH"
36-
cmake -DCMAKE_TOOLCHAIN_FILE=$VITASDK/share/vita.toolchain.cmake -DCMAKE_BUILD_TYPE=None -B build
37-
cmake --build build -- -j4
26+
- name: Check out the repo
27+
uses: actions/checkout@v2
28+
- name: Run the build process with Docker
29+
uses: addnab/docker-run-action@v3
30+
with:
31+
image: gnuton/vitasdk-docker:20240612
32+
options: -v ${{ github.workspace }}:/build/git/sourcedir
33+
run: |
34+
export PATH="$VITASDK/bin:$PATH"
35+
cd /build/git/sourcedir
36+
cmake -DCMAKE_TOOLCHAIN_FILE=$VITASDK/share/vita.toolchain.cmake -DCMAKE_BUILD_TYPE=None -B build
37+
cmake --build build -- -j4
3838
env:
3939
VITASDK: /usr/local/vitasdk
4040

0 commit comments

Comments
 (0)