build: add CI (using Docker) #2
| @@ -9,7 +9,7 @@ fi | |||||||
| # Make sure we have cURL (and file for debugging) | # Make sure we have cURL (and file for debugging) | ||||||
| dpkg --add-architecture i386 | dpkg --add-architecture i386 | ||||||
| apt-get update | apt-get update | ||||||
| apt-get install -y curl file | apt-get install -y curl file libstdc++-13-dev:i386 | ||||||
|  |  | ||||||
| # Construct the download URL | # Construct the download URL | ||||||
| DOWNLOAD_URL="https://github.com/Laupetin/OpenAssetTools/releases/download/v${OAT_VERSION}/oat-linux.tar.gz" | DOWNLOAD_URL="https://github.com/Laupetin/OpenAssetTools/releases/download/v${OAT_VERSION}/oat-linux.tar.gz" | ||||||
| @@ -37,4 +37,4 @@ rm -rf "$TEMP_DIR" | |||||||
|  |  | ||||||
| echo "OpenAssetTools version $OAT_VERSION has been installed." | echo "OpenAssetTools version $OAT_VERSION has been installed." | ||||||
|  |  | ||||||
| Linker --help | Linker -v --load "deps/iw5-zones/zone/english/code_post_gfx_mp.ff" --menu-permissive --menu-no-optimization code_post_gfx_mp | ||||||
|   | |||||||
| @@ -3,7 +3,7 @@ name: link | |||||||
| on: [push] | on: [push] | ||||||
|  |  | ||||||
| env: | env: | ||||||
|   OAT_VERSION: "0.8.3" |   OAT_VERSION: "0.10.0" | ||||||
|  |  | ||||||
| jobs: | jobs: | ||||||
|   link-linux: |   link-linux: | ||||||
| @@ -28,3 +28,10 @@ jobs: | |||||||
|             cd ${{ github.workspace }} |             cd ${{ github.workspace }} | ||||||
|             export OAT_VERSION=${{ env.OAT_VERSION  }} |             export OAT_VERSION=${{ env.OAT_VERSION  }} | ||||||
|             ./.gitea/scripts/ci.sh |             ./.gitea/scripts/ci.sh | ||||||
|  |  | ||||||
|  |       - name: Upload assets | ||||||
|  |         uses: actions/upload-artifact@v3 | ||||||
|  |         with: | ||||||
|  |           name: assets | ||||||
|  |           path: | | ||||||
|  |             zone_out/code_post_gfx_mp/code_post_gfx_mp.ff | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user