This repository was archived by the owner on Apr 28, 2026. It is now read-only.
LibCmo Linux Build #7
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: LibCmo Linux Build | |
| on: [workflow_dispatch] | |
| jobs: | |
| linux-build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v4 | |
| - name: Install Dependencies | |
| shell: bash | |
| run: | | |
| sudo apt update | |
| sudo apt install -y build-essential cmake git | |
| - name: Fetch YYCCommonplace | |
| uses: actions/checkout@v4 | |
| with: | |
| repository: 'yyc12345/YYCCommonplace' | |
| ref: 'master' | |
| path: 'extern/YYCCommonplace' | |
| - name: Build YYCCommonplace | |
| shell: bash | |
| run: | | |
| cd extern/YYCCommonplace | |
| source ../../.github/scripts/yycc/linux.sh | |
| echo "YYCCommonplace_ROOT=$YYCCommonplace_ROOT" >> "$GITHUB_ENV" | |
| cd ../.. | |
| - name: Fetch ZLIB | |
| uses: actions/checkout@v4 | |
| with: | |
| repository: 'madler/zlib' | |
| ref: 'v1.3.1' | |
| path: 'extern/zlib' | |
| - name: Build ZLIB | |
| shell: bash | |
| run: | | |
| cd extern/zlib | |
| source ../../.github/scripts/zlib/linux.sh | |
| echo "ZLIB_ROOT=$ZLIB_ROOT" >> "$GITHUB_ENV" | |
| cd ../.. | |
| - name: Fetch STB | |
| uses: actions/checkout@v4 | |
| with: | |
| repository: 'nothings/stb' | |
| ref: '2e2bef463a5b53ddf8bb788e25da6b8506314c08' | |
| path: 'extern/stb' | |
| - name: Build STB | |
| shell: bash | |
| run: | | |
| cd extern/stb | |
| source ../../.github/scripts/stb/linux.sh | |
| echo "STB_ROOT=$STB_ROOT" >> "$GITHUB_ENV" | |
| cd ../.. | |
| - name: Build LibCmo | |
| shell: bash | |
| run: | | |
| source ./.github/scripts/linux.sh | |
| - name: Upload Built Artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: LibCmo-linux-build | |
| path: bin/install/* | |
| retention-days: 30 | |
| - name: Upload Built ependencies | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: LibCmo-linux-dep | |
| path: extern/zlib/install/* | |
| retention-days: 30 |