@@ -38,147 +38,5 @@ jobs:
38
38
run : git config --global --add safe.directory "*"
39
39
- name : chroot build params
40
40
run : etc/ci/describe-system-config.sh
41
- - name : make deps
42
- run : etc/ci/github-actions-make.sh -j2 deps
43
- - name : all-except-generated-and-js-of-ocaml
44
- run : etc/ci/github-actions-make.sh -j2 all-except-generated-and-js-of-ocaml
45
- - name : generated-files
46
- run : etc/ci/github-actions-make.sh -j2 generated-files
47
- - run : tar -czvf generated-files.tgz fiat-*/
48
- if : ${{ failure() }}
49
- - name : upload generated files
50
- uses : actions/upload-artifact@v3
51
- with :
52
- name : generated-files-archlinux
53
- path : generated-files.tgz
54
- if : ${{ failure() }}
55
- - name : install-standalone-unified-ocaml
56
- run : etc/ci/github-actions-make.sh install-standalone-unified-ocaml BINDIR=dist
57
- # - name: standalone-js-of-ocaml
58
- # run: etc/ci/github-actions-make.sh -j2 standalone-js-of-ocaml
59
- # - name: install-standalone-js-of-ocaml
60
- # run: etc/ci/github-actions-make.sh install-standalone-js-of-ocaml
61
- - name : upload standalone files
62
- uses : actions/upload-artifact@v3
63
- with :
64
- name : standalone-archlinux
65
- path : dist/fiat_crypto
66
- # - name: upload standalone js files
67
- # uses: actions/upload-artifact@v3
68
- # with:
69
- # name: standalone-html-archlinux
70
- # path: fiat-html
71
- - name : upload OCaml files
72
- uses : actions/upload-artifact@v3
73
- with :
74
- name : ExtractionOCaml-archlinux
75
- path : src/ExtractionOCaml
76
- if : always ()
77
- # - name: upload js_of_ocaml files
78
- # uses: actions/upload-artifact@v3
79
- # with:
80
- # name: ExtractionJsOfOCaml-archlinux
81
- # path: src/ExtractionJsOfOCaml
82
- # if: always ()
83
- - name : standalone-haskell
84
- run : etc/ci/github-actions-make.sh -j1 standalone-haskell GHCFLAGS='+RTS -M7G -RTS'
85
- - name : upload Haskell files
86
- uses : actions/upload-artifact@v3
87
- with :
88
- name : ExtractionHaskell-archlinux
89
- path : src/ExtractionHaskell
90
- if : always ()
91
- - name : only-test-amd64-files-lite
92
- run : etc/ci/github-actions-make.sh -j2 only-test-amd64-files-lite SLOWEST_FIRST=1
93
- - name : install
94
- run : etc/ci/github-actions-make.sh EXTERNAL_DEPENDENCIES=1 SKIP_COQSCRIPTS_INCLUDE=1 install install-standalone-ocaml
95
- - name : install-without-bedrock2
96
- run : etc/ci/github-actions-make.sh EXTERNAL_DEPENDENCIES=1 SKIP_BEDROCK2=1 install-without-bedrock2 install-standalone-ocaml
97
- - name : install-dev
98
- run : etc/ci/github-actions-make.sh EXTERNAL_REWRITER=1 EXTERNAL_COQPRIME=1 install install-standalone-ocaml
99
- - name : display timing info
100
- run : cat time-of-build-pretty.log
101
- - name : display per-line timing info
102
- run : etc/ci/github-actions-display-per-line-timing.sh
103
-
104
- test-standalone :
105
- runs-on : ubuntu-latest
106
- container : archlinux
107
- needs : build
108
- steps :
109
- - name : Install system dependencies
110
- run : |
111
- pacman --noconfirm -Syu git --needed
112
- - uses : actions/checkout@v4
113
- - name : Download standalone archlinux
114
- uses : actions/download-artifact@v3
115
- with :
116
- name : standalone-archlinux
117
- path : dist/
118
- - name : List files
119
- run : find dist
120
- - run : chmod +x dist/fiat_crypto
121
- - name : Test files (container)
122
- run : |
123
- echo "::group::file fiat_crypto"
124
- file dist/fiat_crypto
125
- echo "::endgroup::"
126
- echo "::group::ldd fiat_crypto"
127
- ldd dist/fiat_crypto
128
- echo "::endgroup::"
129
- etc/ci/test-run-fiat-crypto.sh dist/fiat_crypto
130
-
131
- publish-standalone-dry-run :
132
- runs-on : ubuntu-latest
133
- needs : build
134
- # permissions:
135
- # contents: write # IMPORTANT: mandatory for making GitHub Releases
136
- steps :
137
- - uses : actions/checkout@v4
138
- with :
139
- fetch-depth : 0 # Fetch all history for all tags and branches
140
- tags : true # Fetch all tags as well, `fetch-depth: 0` might be sufficient depending on Git version
141
- - name : Download standalone archlinux
142
- uses : actions/download-artifact@v3
143
- with :
144
- name : standalone-archlinux
145
- path : dist/
146
- - name : List files
147
- run : find dist
148
- - name : Rename files
149
- run : |
150
- echo "::group::find arch"
151
- arch="$(etc/ci/find-arch.sh dist/fiat_crypto "unknown")"
152
- tag="$(git describe --tags HEAD)"
153
- fname="Fiat-Cryptography_${tag}_Linux_archlinux_${arch}"
154
- echo "$fname"
155
- mv dist/fiat_crypto "dist/$fname"
156
- find dist
157
- # - name: Upload artifacts to GitHub Release
158
- # env:
159
- # GITHUB_TOKEN: ${{ github.token }}
160
- # # Upload to GitHub Release using the `gh` CLI.
161
- # # `dist/` contains the built packages
162
- # run: >-
163
- # gh release upload
164
- # '${{ github.ref_name }}' dist/**
165
- # --repo '${{ github.repository }}'
166
- # if: ${{ startsWith(github.ref, 'refs/tags/') && github.event_name == 'release' }}
167
-
168
- archlinux-check-all :
169
- runs-on : ubuntu-latest
170
- needs : [build, test-standalone, publish-standalone-dry-run]
171
- if : always()
172
- steps :
173
- - run : echo 'build passed'
174
- if : ${{ needs.build.result == 'success' }}
175
- - run : echo 'test-standalone passed'
176
- if : ${{ needs.test-standalone.result == 'success' }}
177
- - run : echo 'publish-standalone-dry-run passed'
178
- if : ${{ needs.publish-standalone-dry-run.result == 'success' }}
179
- - run : echo 'build failed' && false
180
- if : ${{ needs.build.result != 'success' }}
181
- - run : echo 'test-standalone failed' && false
182
- if : ${{ needs.test-standalone.result != 'success' }}
183
- - run : echo 'publish-standalone-dry-run failed' && false
184
- if : ${{ needs.publish-standalone-dry-run.result != 'success' }}
41
+ - name : make garagedoor
42
+ run : /usr/bin/time -v make -j src/Bedrock/End2End/X25519/GarageDoorTop.vo
0 commit comments