-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Maximilian Huber <[email protected]>
- Loading branch information
Showing
1 changed file
with
24 additions
and
24 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -72,32 +72,32 @@ jobs: | |
./.github/workflows/docker-add-data-to-img.sh "$(readlink -f data)" "ghcr.io/maxhbr/ldbcollector:latest" "ghcr.io/maxhbr/ldbcollector-with-data:latest" | ||
docker push "ghcr.io/maxhbr/ldbcollector-with-data:latest" | ||
build: | ||
name: Build via Cabal | ||
runs-on: ubuntu-latest | ||
# cabal: | ||
# name: Build via Cabal | ||
# runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: submodule checkout (partially complete) | ||
run: | | ||
sed -i 's/[email protected]:/https:\/\/github.com\//g' .gitmodules | ||
sed -i 's/[email protected]:/https:\/\/gitlab.com\//g' .gitmodules | ||
git submodule sync --recursive || true | ||
git submodule update --init --recursive || true | ||
# steps: | ||
# - uses: actions/checkout@v4 | ||
# - name: submodule checkout (partially complete) | ||
# run: | | ||
# sed -i 's/[email protected]:/https:\/\/github.com\//g' .gitmodules | ||
# sed -i 's/[email protected]:/https:\/\/gitlab.com\//g' .gitmodules | ||
# git submodule sync --recursive || true | ||
# git submodule update --init --recursive || true | ||
|
||
- uses: haskell/actions/setup@v2 | ||
with: | ||
ghc-version: '9.4.8' | ||
cabal-version: 'latest' | ||
enable-stack: false | ||
# - uses: haskell/actions/setup@v2 | ||
# with: | ||
# ghc-version: '9.4.8' | ||
# cabal-version: 'latest' | ||
# enable-stack: false | ||
|
||
- run: cabal update | ||
- run: cabal build | ||
# - run: cabal test | ||
# - run: time cabal run -- write BSD-3-Clause | ||
# - uses: actions/upload-artifact@v2 | ||
# with: | ||
# name: out | ||
# path: _out | ||
# - run: cabal update | ||
# - run: cabal build | ||
# # - run: cabal test | ||
# # - run: time cabal run -- write BSD-3-Clause | ||
# # - uses: actions/upload-artifact@v2 | ||
# # with: | ||
# # name: out | ||
# # path: _out | ||
|
||
|