Skip to content

Commit 4669aae

Browse files
authored
Merge pull request #9342 from julek-wolfssl/filc
Adds fil-c workflow for testing
2 parents 7bbe159 + 1ed1b83 commit 4669aae

1 file changed

Lines changed: 47 additions & 0 deletions

File tree

.github/workflows/fil-c.yml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: Fil-C Tests
2+
3+
env:
4+
FIL_C_VERSION: v0.673
5+
6+
# START OF COMMON SECTION
7+
on:
8+
push:
9+
branches: [ 'master', 'main', 'release/**' ]
10+
pull_request:
11+
branches: [ '*' ]
12+
13+
concurrency:
14+
group: ${{ github.workflow }}-${{ github.ref }}
15+
cancel-in-progress: true
16+
# END OF COMMON SECTION
17+
18+
jobs:
19+
run_fil_c:
20+
strategy:
21+
fail-fast: false
22+
matrix:
23+
config: [
24+
# Add new configs here. Don't use CPPFLAGS.
25+
'',
26+
'--enable-all',
27+
]
28+
# This should be a safe limit for the tests to run.
29+
timeout-minutes: 30
30+
if: github.repository_owner == 'wolfssl'
31+
runs-on: ubuntu-22.04
32+
name: ${{ matrix.config }}
33+
steps:
34+
- name: Download fil-c release
35+
run: gh release download ${{ env.FIL_C_VERSION }} --repo pizlonator/fil-c --pattern 'filc-*'
36+
env:
37+
GH_TOKEN: ${{ github.token }}
38+
39+
- name: Extract fil-c tarball
40+
run: mkdir -p filc && tar -xf filc-*.tar* --strip-components=1 -C filc
41+
42+
- name: Build and test wolfSSL
43+
uses: wolfSSL/actions-build-autotools-project@v1
44+
with:
45+
path: wolfssl
46+
configure: ${{ matrix.config }} CC=$GITHUB_WORKSPACE/filc/build/bin/filcc --disable-asm CPPFLAGS=-DWC_NO_CACHE_RESISTANT
47+
check: true

0 commit comments

Comments
 (0)