Skip to content

Commit 0cf596e

Browse files
committed
Try to fix emu arches
1 parent d0708a8 commit 0cf596e

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

.github/workflows/test.yaml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,14 @@ jobs:
109109
githubToken: ${{ github.token }}
110110
install: |
111111
apt-get update -y
112-
apt-get install -y ghc libghc-quickcheck2-dev libghc-tasty-dev libghc-tasty-quickcheck-prof cpphs git make
112+
apt-get install -y ghc libghc-quickcheck2-dev libghc-tasty-dev libghc-tasty-quickcheck-prof cpphs git make curl
113113
run: |
114+
curl -O https://hackage.haskell.org/package/bytestring-0.11.3.0/bytestring-0.11.3.0.tar.gz
115+
tar xf bytestring-0.11.3.0.tar.gz
116+
cd bytestring-0.11.3.0/
117+
runhaskell Setup.hs configure
118+
runhaskell Setup.hs install --global
119+
cd ..
114120
ghc --version
115121
ghc --make -o Main tests/Test.hs -itests/ +RTS -s
116122
./Main +RTS -s
@@ -125,11 +131,17 @@ jobs:
125131
- name: install
126132
run: |
127133
apt-get update -y
128-
apt-get install -y ghc libghc-quickcheck2-dev libghc-tasty-dev libghc-tasty-quickcheck-prof cpphs git make
134+
apt-get install -y ghc libghc-quickcheck2-dev libghc-tasty-dev libghc-tasty-quickcheck-prof cpphs git make curl
129135
shell: bash
130136
- uses: actions/checkout@v1
131137
- name: test
132138
run: |
139+
curl -O https://hackage.haskell.org/package/bytestring-0.11.3.0/bytestring-0.11.3.0.tar.gz
140+
tar xf bytestring-0.11.3.0.tar.gz
141+
cd bytestring-0.11.3.0/
142+
runhaskell Setup.hs configure
143+
runhaskell Setup.hs install --global
144+
cd ..
133145
ghc --version
134146
ghc --make -o Main tests/Test.hs -itests/ +RTS -s
135147
./Main +RTS -s

0 commit comments

Comments
 (0)