diff options
| author | John MacFarlane <[email protected]> | 2024-04-10 22:55:56 -0700 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2024-04-10 22:55:56 -0700 |
| commit | c3887a5255f6c1fd3c435b7317a3ad36490a5e26 (patch) | |
| tree | f84f16741402d3af3b6bce62e97a367bce69202f | |
| parent | a0c1bdeb8b93e2661132a714668dff5f32ffb167 (diff) | |
comment out non-Windows CI
| -rw-r--r-- | .github/workflows/ci.yml | 248 |
1 files changed, 124 insertions, 124 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d70acdc32..bd36533e1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,129 +41,129 @@ permissions: contents: read jobs: - linux: - - runs-on: ubuntu-latest - strategy: - fail-fast: true - matrix: - versions: - - ghc: '8.10' - cabal: 'latest' - cabalopts: '' - - ghc: '9.0' - cabal: 'latest' - cabalopts: '' - - ghc: '9.2' - cabal: 'latest' - cabalopts: '' - - ghc: '9.4' - cabal: 'latest' - cabalopts: '' - - ghc: '9.6' - cabal: 'latest' - cabalopts: '' - steps: - - uses: actions/checkout@v4 - - # needed by memory - - name: Install numa - run: sudo apt-get install libnuma-dev - - - name: Workaround runner image issue - # https://github.com/actions/runner-images/issues/7061 - run: sudo chown -R $USER /usr/local/.ghcup - - - name: Install cabal/ghc - run: | - ghcup install ghc --set ${{ matrix.versions.ghc }} - ghcup install cabal --set ${{ matrix.versions.cabal }} - - # declare/restore cached things - - - name: Cache cabal global package db - id: cabal-global - uses: actions/cache@v4 - with: - path: | - ~/.local/state/cabal - key: ${{ runner.os }}-${{ matrix.versions.ghc }}-${{ matrix.versions.cabal }}-cabal-global-${{ secrets.CACHE_VERSION }} - - - name: Cache cabal work - id: cabal-local - uses: actions/cache@v4 - with: - path: | - dist-newstyle - key: ${{ runner.os }}-${{ matrix.versions.ghc }}-${{ matrix.versions.cabal }}-cabal-local-${{ secrets.CACHE_VERSION }} - - - name: Update cabal - run: | - cabal update - - - name: Build and test - run: | - cabal test ${{ matrix.versions.cabalopts }} --enable-tests --disable-optimization --ghc-options=-Werror all - - linux-stack: - - runs-on: ubuntu-latest - strategy: - fail-fast: true - steps: - - uses: actions/checkout@v4 - - # needed by memory - - name: Install numa - run: sudo apt-get install libnuma-dev - - # declare/restore cached things - - name: Cache stack global package db - id: stack-global - uses: actions/cache@v4 - with: - path: | - ~/.stack - key: ${{ runner.os }}-${{ matrix.versions.ghc }}-${{ matrix.versions.cabal }}-stack-global-${{ secrets.CACHE_VERSION }} - - - name: Cache stack work - id: stack-local - uses: actions/cache@v4 - with: - path: | - .stack-work - key: ${{ runner.os }}-${{ matrix.versions.ghc }}-${{ matrix.versions.cabal }}-stack-local-${{ secrets.CACHE_VERSION }} - - - name: Build and test - run: | - stack test --fast - - linux-nix-cabal: - - runs-on: ubuntu-latest - strategy: - fail-fast: true - steps: - - uses: actions/checkout@v4 - - uses: cachix/install-nix-action@v26 - with: - nix_path: nixpkgs=channel:nixos-unstable - - name: Cache cabal global package db - id: cabal-global - uses: actions/cache@v4 - with: - path: | - ~/.local/state/cabal - key: ${{ runner.os }}-nix-cabal-global-${{ secrets.CACHE_VERSION }} - - name: Cache cabal work - id: cabal-local - uses: actions/cache@v4 - with: - path: | - dist-newstyle - key: ${{ runner.os }}-nix-cabal-local-${{ secrets.CACHE_VERSION }} - - run: | - nix-shell --run "cabal update && cabal test --enable-tests --disable-optimization --ghc-options=-Werror all" +# linux: +# +# runs-on: ubuntu-latest +# strategy: +# fail-fast: true +# matrix: +# versions: +# - ghc: '8.10' +# cabal: 'latest' +# cabalopts: '' +# - ghc: '9.0' +# cabal: 'latest' +# cabalopts: '' +# - ghc: '9.2' +# cabal: 'latest' +# cabalopts: '' +# - ghc: '9.4' +# cabal: 'latest' +# cabalopts: '' +# - ghc: '9.6' +# cabal: 'latest' +# cabalopts: '' +# steps: +# - uses: actions/checkout@v4 +# +# # needed by memory +# - name: Install numa +# run: sudo apt-get install libnuma-dev +# +# - name: Workaround runner image issue +# # https://github.com/actions/runner-images/issues/7061 +# run: sudo chown -R $USER /usr/local/.ghcup +# +# - name: Install cabal/ghc +# run: | +# ghcup install ghc --set ${{ matrix.versions.ghc }} +# ghcup install cabal --set ${{ matrix.versions.cabal }} +# +# # declare/restore cached things +# +# - name: Cache cabal global package db +# id: cabal-global +# uses: actions/cache@v4 +# with: +# path: | +# ~/.local/state/cabal +# key: ${{ runner.os }}-${{ matrix.versions.ghc }}-${{ matrix.versions.cabal }}-cabal-global-${{ secrets.CACHE_VERSION }} +# +# - name: Cache cabal work +# id: cabal-local +# uses: actions/cache@v4 +# with: +# path: | +# dist-newstyle +# key: ${{ runner.os }}-${{ matrix.versions.ghc }}-${{ matrix.versions.cabal }}-cabal-local-${{ secrets.CACHE_VERSION }} +# +# - name: Update cabal +# run: | +# cabal update +# +# - name: Build and test +# run: | +# cabal test ${{ matrix.versions.cabalopts }} --enable-tests --disable-optimization --ghc-options=-Werror all +# +# linux-stack: +# +# runs-on: ubuntu-latest +# strategy: +# fail-fast: true +# steps: +# - uses: actions/checkout@v4 +# +# # needed by memory +# - name: Install numa +# run: sudo apt-get install libnuma-dev +# +# # declare/restore cached things +# - name: Cache stack global package db +# id: stack-global +# uses: actions/cache@v4 +# with: +# path: | +# ~/.stack +# key: ${{ runner.os }}-${{ matrix.versions.ghc }}-${{ matrix.versions.cabal }}-stack-global-${{ secrets.CACHE_VERSION }} +# +# - name: Cache stack work +# id: stack-local +# uses: actions/cache@v4 +# with: +# path: | +# .stack-work +# key: ${{ runner.os }}-${{ matrix.versions.ghc }}-${{ matrix.versions.cabal }}-stack-local-${{ secrets.CACHE_VERSION }} +# +# - name: Build and test +# run: | +# stack test --fast +# +# linux-nix-cabal: +# +# runs-on: ubuntu-latest +# strategy: +# fail-fast: true +# steps: +# - uses: actions/checkout@v4 +# - uses: cachix/install-nix-action@v26 +# with: +# nix_path: nixpkgs=channel:nixos-unstable +# - name: Cache cabal global package db +# id: cabal-global +# uses: actions/cache@v4 +# with: +# path: | +# ~/.local/state/cabal +# key: ${{ runner.os }}-nix-cabal-global-${{ secrets.CACHE_VERSION }} +# - name: Cache cabal work +# id: cabal-local +# uses: actions/cache@v4 +# with: +# path: | +# dist-newstyle +# key: ${{ runner.os }}-nix-cabal-local-${{ secrets.CACHE_VERSION }} +# - run: | +# nix-shell --run "cabal update && cabal test --enable-tests --disable-optimization --ghc-options=-Werror all" windows: @@ -192,7 +192,7 @@ jobs: with: path: | dist-newstyle - key: ${{ runner.os }}-stack-work-${{ hashFiles('cabal.project') }}-${{ secrets.CACHE_VERSION }} + key: ${{ runner.os }}-cabal-work-${{ hashFiles('cabal.project') }}-${{ secrets.CACHE_VERSION }} - name: Install dependencies run: | |
