Incorporate dual-thread architecture. #269
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: miso-lynx CI | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| env: | |
| ACTIONS_ALLOW_UNSECURE_COMMANDS: true | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: DeterminateSystems/nix-installer-action@main | |
| - uses: actions/checkout@v3.5.3 | |
| - uses: cachix/install-nix-action@v25 | |
| with: | |
| nix_path: nixpkgs=channel:nixpkgs-unstable | |
| - name: Cancel Previous Runs | |
| uses: styfle/cancel-workflow-action@0.9.1 | |
| with: | |
| access_token: ${{ github.token }} | |
| - uses: cachix/cachix-action@v16 | |
| with: | |
| name: haskell-miso-cachix | |
| authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' | |
| - name: Nix channel update | |
| run: nix-channel --update | |
| - name: Bun install | |
| run: nix-env -iA bun -f . && bun install | |
| # - name: (JS) Miso Native GHCJS (GHC 9.12.2) | |
| # run: nix-build -A miso-native | |
| - name: (x86) Miso Lynx GHC (GHC 9.12.2) | |
| run: nix-build -A miso-lynx-ghc9122 | |
| # - name: (JS) Miso Native examples (GHCJS 9.12.2) | |
| # run: nix-build -A miso-native-examples-ghcjs9122 | |
| # - name: (x86) Bundle miso-native counter example w/ rspack | |
| # run: nix-build -A counter-bundle && ./result/bin/counter-bundle | |
| - name: (x86) Nix garbage collect | |
| run: nix-collect-garbage -d | |
| - name: Miso Lynx Haddocks | |
| run: nix-shell --run 'cabal update && cabal haddock-project' |