Fix launcher issues + add new test #103
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: CI | |
| on: | |
| push: | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| tests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: build | |
| continue-on-error: true | |
| run: | | |
| sudo apt-get install meson | |
| meson setup builddir | |
| meson test -C builddir | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: sh_integration-tests_logs | |
| path: builddir/meson-logs | |
| build-kindlepw2: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Download toolchain | |
| run: wget -q https://github.com/KindleModding/koxtoolchain/releases/latest/download/kindlepw2.tar.gz -O - | tar -xzf - -C ~ | |
| - uses: actions/checkout@v4 | |
| with: | |
| repository: KindleModding/kindle-sdk | |
| submodules: recursive | |
| path: kindle-sdk | |
| - name: "Setup kindle-sdk" | |
| run: | | |
| sudo apt-get install -y zlib1g-dev libarchive-dev nettle-dev curl | |
| bash ./kindle-sdk/gen-sdk.sh kindlepw2 | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: build | |
| run: | | |
| sudo apt-get install meson | |
| meson setup --cross-file ~/x-tools/arm-kindlepw2-linux-gnueabi/meson-crosscompile.txt builddir_kindlepw2 | |
| meson compile -C builddir_kindlepw2 | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: sh_integration-kindlepw2 | |
| path: builddir_kindlepw2 | |
| build-kindlehf: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Download toolchain | |
| run: wget -q https://github.com/KindleModding/koxtoolchain/releases/latest/download/kindlehf.tar.gz -O - | tar -xzf - -C ~ | |
| - uses: actions/checkout@v4 | |
| with: | |
| repository: KindleModding/kindle-sdk | |
| submodules: recursive | |
| path: kindle-sdk | |
| - name: "Setup kindle-sdk" | |
| run: | | |
| sudo apt-get install -y zlib1g-dev libarchive-dev nettle-dev curl | |
| bash ./kindle-sdk/gen-sdk.sh kindlehf | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: build | |
| run: | | |
| sudo apt-get install meson | |
| meson setup --cross-file ~/x-tools/arm-kindlehf-linux-gnueabihf/meson-crosscompile.txt builddir_kindlehf | |
| meson compile -C builddir_kindlehf | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: sh_integration-kindlehf | |
| path: builddir_kindlehf |