improve: PCLL by allow compiling wo/SSL libraries #50
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
name: Build FrequenC | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Install Dependencies | |
run: sudo apt-get install -y libssl-dev clang make | |
- name: Build | |
env: | |
GITHUB_COMMIT_SHA: ${{ github.sha }} | |
GITHUB_BRANCH: ${{ github.ref_name }} | |
run: CFLAGS="-D_POSIX_C_SOURCE=199309L -Iinclude -Iexternal -Isources -std=c99 -Ofast -march=native -static -Wl,--strip-all" make | |
- name: Archive Build | |
uses: actions/upload-artifact@v4 | |
with: | |
name: FrequenC | |
path: FrequenC |