git.iko.soy/typeable/pandoc
on master help sign in
release-candidate build: use latest stack on the runner.

instead of installing from choco. Remove obsolete macos and win i386 sections.

commitea7fea58a938b0e31c7092dc3bf7adfdc0c5bcf9 authorJohn MacFarlane <jgm@berkeley.edu> dateTue 22 Sep 2020, 09:47 (6 years ago) parente2e6dbc
1 file changed−57
.github/workflows/release-candidate.yml−57
.github/workflows/release-candidate.yml−57
@@ -31,20 +31,10 @@ jobs:
3131 versions:
3232 - osarch: "windows-x86_64"
3333 arch: "x64"
34− choco_opts: ""
3534 stack_opts: "-j1"
36− # - osarch: "windows-i386"
37− # arch: "x86"
38− # choco_opts: "--x86 --version 2.1.3.20190715"
39− # stack_opts: "-j1 --flag hslua:lua_32bits"
40− # # we use stack 2.1.3 because 2.3.1 doesn't support i386
4135
4236 steps:
4337 - uses: actions/checkout@v1
44− - name: Install stack
45− shell: cmd
46− run: |
47− choco install haskell-stack ${{ matrix.versions.choco_opts }}
4838 - name: Install dependencies
4939 run: |
5040 stack update
@@ -92,50 +82,3 @@ jobs:
9282 with:
9383 name: windows-release-candidate
9484 path: windows-release-candidate
95−
96−# We now build for macos on travis-ci.com
97−# macos:
98−
99−# runs-on: macOS-10.15
100−
101−# steps:
102−# - uses: actions/checkout@v1
103−# - name: Install stack
104−# run: |
105−# curl -L https://get.haskellstack.org/stable/osx-x86_64.tar.gz -o stack.tar.gz
106−# tar xzvf stack.tar.gz --strip-components=1 'stack*/stack'
107−# - name: Install dependencies
108−# run: |
109−# ./stack update
110−# ./stack build --dependencies-only pandoc pandoc-citeproc
111−# - name: Create macOS package
112−# run: |
113−# export VERSION=$(grep '^[Vv]ersion:' pandoc.cabal | awk '{print $$2;}')
114−# export BASEDIR=$(pwd)
115−# export ARTIFACTS=${BASEDIR}/macos-release-candidate
116−# export RESOURCES=${ARTIFACTS}/Resources
117−# export ROOT=${ARTIFACTS}/pandoc
118−# export DEST=${ROOT}/usr/local
119−# export ME=$(whoami)
120−# export BASE=pandoc-$VERSION
121−# mkdir -p ${ARTIFACTS}
122−# mkdir -p ${RESOURCES}
123−# mkdir -p ${DEST}/bin
124−# mkdir -p ${DEST}/share/man/man1
125−# ./stack build pandoc pandoc-citeproc
126−# for f in $(find .stack-work/install -name 'pandoc*' -perm +001 -type f); do cp $f ${DEST}/bin/; done
127−# strip ${DEST}/bin/pandoc
128−# strip ${DEST}/bin/pandoc-citeproc
129−# cp man/pandoc.1 ${DEST}/share/man/man1/pandoc.1
130−# ${DEST}/bin/pandoc-citeproc --man > \
131−# $DEST/share/man/man1/pandoc-citeproc.1
132−# ${DEST}/bin/pandoc -t html5 -s COPYING.md -Vpagetitle=License \
133−# -o ${RESOURCES}/license.html
134−# chown -R $ME:staff ${ROOT}
135−# sed -e "s/PANDOCVERSION/${VERSION}/" macos/distribution.xml.in > ${ARTIFACTS}/distribution.xml
136−# cp macos/Makefile ${ARTIFACTS}/
137−# echo ${VERSION} > ${ARTIFACTS}/version.txt
138−# - uses: actions/upload-artifact@v2
139−# with:
140−# name: macos-release-candidate
141−# path: macos-release-candidate