Skip to content

Commit

Permalink
One more.
Browse files Browse the repository at this point in the history
  • Loading branch information
dfaranha committed May 9, 2024
1 parent 3892b14 commit 2de25e5
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/gmp.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: Faster configuration (GMP)

defaults:
run:
shell: ${{ matrix.os == 'windows-latest' && 'msys2 {0}' || 'bash' }}

on:
push:
branches:
Expand Down Expand Up @@ -51,7 +55,6 @@ jobs:
- name: Set MinGW enviroment
if: ${{ (runner.os == 'Windows') && (matrix.config.cc == 'gcc') }}
uses: msys2/setup-msys2@v2
shell: msys2
with:
msystem: UCRT64
install: >-
Expand All @@ -66,15 +69,13 @@ jobs:

- name: Run CMake (MingW)
if: ${{ (runner.os == 'Windows') && (matrix.config.cc == 'gcc') }}
shell: bash
run: |
mkdir build
cd build
cmake -DSEED= -DBENCH=0 -DARITH=gmp -G "Unix Makefiles" ..
- name: Run CMake (standard)
if: ${{ !(runner.os == 'Windows') }}
shell: bash
run: |
mkdir build
cd build
Expand Down

0 comments on commit 2de25e5

Please sign in to comment.