-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit adds GitHub actions "build.yml" file to pre-build FrequenC.
- Loading branch information
Showing
3 changed files
with
44 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: Build FrequenC | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout Repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Install Dependencies | ||
run: sudo apt-get install -y libssl-dev clang make | ||
|
||
- name: Build | ||
env: | ||
GITHUB_SHA: ${{ github.sha }} | ||
GITHUB_BRANCH: ${{ github.ref_name }} | ||
run: CFLAGS="-Ofast -fno-signed-zeros -fno-trapping-math -funroll-loops" make | ||
|
||
- name: Archive Build | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: build-artifact | ||
path: FrequenC |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters