Skip to content

Commit 8c055de

Browse files
committed
[ ci ] update to cope with new doc/ directory
1 parent 98843ee commit 8c055de

File tree

9 files changed

+10
-15
lines changed

9 files changed

+10
-15
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

.github/workflows/ci-ubuntu.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ env:
5050
CABAL_VERSION: 3.6.2.0
5151
CABAL_INSTALL: cabal v1-install --ghc-options='-O1 +RTS -M6G -RTS'
5252
# CABAL_INSTALL: cabal install --overwrite-policy=always --ghc-options='-O1 +RTS -M6G -RTS'
53-
AGDA: agda -Werror +RTS -M3.5G -H3.5G -A128M -RTS -i. -i src/
53+
AGDA: agda -Werror +RTS -M3.5G -H3.5G -A128M -RTS -i. -isrc -idoc
5454

5555
jobs:
5656
test-stdlib:
@@ -152,7 +152,7 @@ jobs:
152152
- name: Test stdlib
153153
run: |
154154
cabal run GenerateEverything
155-
cp travis/* .
155+
cp .github/tooling/* .
156156
./index.sh
157157
${{ env.AGDA }} --safe EverythingSafe.agda
158158
${{ env.AGDA }} index.agda
@@ -178,7 +178,7 @@ jobs:
178178
rm -f '${{ env.AGDA_HTML_DIR }}'/*.css
179179
${{ env.AGDA }} --html --html-dir ${{ env.AGDA_HTML_DIR }} index.agda
180180
181-
cp travis/* .
181+
cp .github/tooling/* .
182182
./landing.sh
183183
184184
- name: Deploy HTML

GNUmakefile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,14 @@ AGDA=$(AGDA_EXEC) $(AGDA_OPTIONS) $(AGDA_RTS_OPTIONS)
99
# cabal install fix-whitespace
1010

1111
test: Everything.agda check-whitespace
12-
$(AGDA) -i. -isrc README.agda
12+
cd doc && $(AGDA) README.agda
1313

1414
testsuite:
1515
$(MAKE) -C tests test AGDA="$(AGDA)" AGDA_EXEC="$(AGDA_EXEC)" only=$(only)
1616

17+
fix-whitespace:
18+
cabal exec -- fix-whitespace
19+
1720
check-whitespace:
1821
cabal exec -- fix-whitespace --check
1922

@@ -25,7 +28,7 @@ Everything.agda:
2528

2629
.PHONY: listings
2730
listings: Everything.agda
28-
$(AGDA) -i. -isrc --html README.agda -v0
31+
cd doc && $(AGDA) --html README.agda -v0
2932

3033
clean :
3134
find . -type f -name '*.agdai' -delete

notes/release-guide.txt

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -61,20 +61,12 @@ procedure should be followed:
6161
* Announce the release of the new version on the Agda mailing lists
6262
(users and developers).
6363

64-
* Add v$VERSION to the list of protected directories in the .travis.yml
65-
file of BOTH master and experimental. They should look something like:
66-
67-
> git checkout HEAD -- v0.16/ v0.17/ v1.0/ v1.1/ (...)
68-
69-
Commit & push these changes. This will prevent the next step from being
70-
overwritten by travis.
71-
7264
* Generate and upload documentation for the released version:
7365

74-
cp travis/* .
66+
cp .github/tooling/* .
7567
runhaskell GenerateEverything.hs
7668
./index.sh
77-
agda -i. -isrc --html index.agda
69+
agda -i. -idoc -isrc --html index.agda
7870
mv html v$VERSION
7971
git checkout gh-pages
8072
git add v$VERSION/*.html v$VERSION/*.css

0 commit comments

Comments
 (0)