on master help sign in
Remove the old Github action
commite9ae1eeed87fe6aa3e521158169ba7f804a33778 authorGaël Deest <gael.deest@tweag.io> dateSun 10 Oct 2021, 22:52 (5 years ago) parent910a3ae
1 file changed+1−53
.github/workflows/master.yml+1−53
.github/workflows/master.yml+1−53
@@ -123,59 +123,7 @@ jobs:
123123 stack test --system-ghc
124124
125125 ghcjs:
126− name: ubuntu-18.04 / ghcjs 8.4
127− runs-on: "ubuntu-18.04"
128−
129− steps:
130− - uses: actions/checkout@v2
131−
132− - name: "Setup PATH"
133− run: |
134− echo "PATH=$HOME/.cabal/bin:/opt/ghcjs/8.4/bin:$PATH" >> $GITHUB_ENV
135−
136− - name: Install ghcjs and cabal
137− run: |
138− # Default GitHub image dropped ppa:hvr/ghc, so we add it ourselves
139− sudo add-apt-repository ppa:hvr/ghc
140− sudo add-apt-repository ppa:hvr/ghcjs
141− sudo apt-get update -y
142− sudo apt-get install ghcjs-8.4
143− sudo apt-get install cabal-install
144−
145− # Override cabal.project with the lightweight GHCJS one
146− cp cabal.ghcjs.project cabal.project
147− cat cabal.project
148−
149− - name: Cabal update and freeze
150− run: |
151− cabal v2-update
152− cabal v2-freeze
153−
154− - uses: actions/cache@v2.1.3
155− name: Cache ~/.cabal/store and dist-newstyle
156− with:
157− path: |
158− ~/.cabal/store
159− dist-newstyle
160− key: ubuntu-18.04-ghcjs8.4-${{ hashFiles('cabal.project.freeze') }}
161− restore-keys: |
162− ubuntu-18.04-ghcjs8.4-
163−
164− - name: Install cabal-plan and hspec-discover
165− run: |
166− cabal v2-install -w /opt/ghc/8.4.4/bin/ghc --ignore-project cabal-plan --constraint='cabal-plan ^>=0.6.0.0' --constraint='cabal-plan +exe'
167− cabal v2-install -w /opt/ghc/8.4.4/bin/ghc --ignore-project hspec-discover
168−
169− - name: Build
170− run: |
171− cabal v2-build --ghcjs -w /opt/ghcjs/8.4/bin/ghcjs --enable-tests --enable-benchmarks all
172−
173− - name: Run tests
174− run: |
175− cabal-plan list-bins '*:test:*' | while read -r line; do testpkg=$(echo "$line" | perl -pe 's/:.*//'); testexe=$(echo "$line" | awk '{ print $2 }'); echo "testing $textexe in package $textpkg"; (cd "$(pkgdir $testpkg)" && nodejs "$testexe".jsexe/all.js); done
176−
177− ghcjs-test:
178− name: ghcjs-test
126+ name: ubuntu-latest / ghcjs 8.6
179127 runs-on: "ubuntu-latest"
180128
181129 steps: