Skip to content

Commit 883551b

Browse files
committed
Merge commit '7c70c1e5f2c1660769e57683a302706e88effada' into 2023_update-chiabls-subtree
2 parents 0bd96c8 + 7c70c1e commit 883551b

File tree

3 files changed

+19
-13
lines changed

3 files changed

+19
-13
lines changed

src/chiabls/.github/workflows/build-autotools.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,45 +14,45 @@ jobs:
1414
matrix:
1515
config:
1616
- name: ARM 32-bit
17-
os: ubuntu-18.04
17+
os: ubuntu-20.04
1818
host: arm-linux-gnueabihf
1919
arch: armhf
2020
apt_get: gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf
2121
arch_packages: libgmp-dev:armhf libsodium-dev:armhf
2222

2323
- name: ARM 64-bit
24-
os: ubuntu-18.04
24+
os: ubuntu-20.04
2525
host: aarch64-linux-gnu
2626
arch: arm64
2727
apt_get: gcc-aarch64-linux-gnu g++-aarch64-linux-gnu
2828
arch_packages: libgmp-dev:arm64 libsodium-dev:arm64
2929

3030
#- name: i686 Linux
31-
# os: ubuntu-18.04
31+
# os: ubuntu-20.04
3232
# host: i686-pc-linux-gnu
3333
# arch: armhf
3434
# apt_get: gcc-multilib g++-multilib
3535
# arch_packages: libgmp-dev:i386 libsodium-dev:i386
3636

3737
- name: x86_64 Linux
38-
os: ubuntu-18.04
38+
os: ubuntu-20.04
3939
host: x86_64-unknown-linux-gnu
4040
arch: armhf # dummy arch
4141
apt_get: gcc-multilib g++-multilib
4242
arch_packages: libgmp-dev libsodium-dev
4343
unit_tests: true
4444

4545
- name: x86_64 MacOS
46-
os: macos-10.15
47-
host: x86_64-apple-darwin19.6.0
46+
os: macos-11
47+
host: x86_64-apple-darwin20.6.0
4848
brew_install: autoconf automake libtool gmp libsodium
4949
cc: clang
5050
cxx: clang++
5151
unit_tests: true
5252

5353
steps:
5454
- name: Get Source
55-
uses: actions/checkout@v2
55+
uses: actions/checkout@v3
5656

5757
- name: Setup Arches
5858
if: matrix.config.arch

src/chiabls/.github/workflows/build-test.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,19 @@ jobs:
99
strategy:
1010
fail-fast: false
1111
matrix:
12-
os: [macos-latest, ubuntu-latest]
12+
os: [macos-11, ubuntu-20.04]
1313

1414
steps:
1515
- name: Cancel previous runs on the same branch
1616
if: ${{ github.ref != 'refs/heads/main' }}
17-
uses: styfle/cancel-workflow-action@0.7.0
17+
uses: styfle/cancel-workflow-action@0.11.0
1818
with:
1919
access_token: ${{ github.token }}
2020

2121
- name: Checkout code
22-
uses: actions/checkout@v2
22+
uses: actions/checkout@v3
2323

24-
- uses: actions/setup-python@v2
24+
- uses: actions/setup-python@v3
2525
name: Install Python
2626
with:
2727
python-version: '3.8'
@@ -71,10 +71,10 @@ jobs:
7171
- name: Test pure python implementation
7272
run: |
7373
python python-impl/impl-test.py
74-
74+
7575
- name: Install emsdk
7676
uses: mymindstorm/setup-emsdk@v9
77-
77+
7878
- name: Test javascript bindings
7979
run: |
8080
emcc -v

src/chiabls/configure.ac

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -419,6 +419,12 @@ AX_PTHREAD
419419

420420
AC_SEARCH_LIBS([clock_gettime],[rt])
421421

422+
case $host in
423+
*mingw*)
424+
AC_CHECK_LIB([ssp], [main], [], AC_MSG_ERROR([libssp missing]))
425+
;;
426+
esac
427+
422428
AC_MSG_CHECKING([whether to build runtest])
423429
if test x$use_tests = xyes; then
424430
AC_MSG_RESULT([yes])

0 commit comments

Comments
 (0)