|
4 | 4 | branches: |
5 | 5 | - master |
6 | 6 | - new-mod-api |
| 7 | + - psvita-port |
| 8 | + |
7 | 9 |
|
8 | 10 | jobs: |
9 | 11 | android: |
@@ -104,10 +106,54 @@ jobs: |
104 | 106 | with: |
105 | 107 | name: ${{ runner.os }}-${{ matrix.arch }} |
106 | 108 | path: build/*.tar.gz |
| 109 | + psvita: |
| 110 | + name: PS Vita |
| 111 | + runs-on: ubuntu-latest |
| 112 | + continue-on-error: true |
| 113 | + steps: |
| 114 | + - name: Checkout sources |
| 115 | + uses: actions/checkout@v4 |
| 116 | + with: |
| 117 | + fetch-depth: 0 |
| 118 | + submodules: recursive |
| 119 | + - name: Install dependencies |
| 120 | + run: | |
| 121 | + sudo dpkg --add-architecture i386 |
| 122 | + sudo apt-get update |
| 123 | + sudo apt-get install libatomic1 libgcc-s1 \ |
| 124 | + libstdc++6 gcc-multilib g++-multilib cmake \ |
| 125 | + ninja-build libfontconfig-dev |
| 126 | + sudo apt-get install cmake=3.28.3-1build7 |
| 127 | + sudo ln -sf /usr/bin/cmake /usr/local/bin/cmake |
| 128 | + - name: Setup VitaSDK |
| 129 | + run: | |
| 130 | + chmod +x scripts/setup_psvita_sdk.sh |
| 131 | + scripts/setup_psvita_sdk.sh |
| 132 | + echo "VITASDK=/usr/local/vitasdk" >> $GITHUB_ENV |
| 133 | + echo "$VITASDK/bin" >> $GITHUB_PATH |
| 134 | + - name: Configure project |
| 135 | + run: cmake --preset "psvita-debug" |
| 136 | + - name: Build |
| 137 | + run: cmake --build . |
| 138 | + working-directory: build |
| 139 | + - name: Write configuration files |
| 140 | + run: | |
| 141 | + pushd build |
| 142 | + chmod +x ${{ github.workspace }}/scripts/write_psvita_configs.sh |
| 143 | + ${{ github.workspace }}/scripts/write_psvita_configs.sh |
| 144 | + popd |
| 145 | + - name: Package |
| 146 | + run: cpack --config CPackConfig.cmake |
| 147 | + working-directory: build |
| 148 | + - name: Upload artifacts |
| 149 | + uses: actions/upload-artifact@v4 |
| 150 | + with: |
| 151 | + name: PSVita |
| 152 | + path: build/*.zip |
107 | 153 | release: |
108 | 154 | name: Release |
109 | 155 | runs-on: ubuntu-latest |
110 | | - needs: [android, windows, linux] |
| 156 | + needs: [android, windows, linux, psvita] |
111 | 157 | steps: |
112 | 158 | - name: Fetch artifacts |
113 | 159 | uses: actions/download-artifact@v4 |
|
0 commit comments