O2 for distribution #166
Workflow file for this run
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: ubuntu-latest | |
on: | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: dbg | |
run: | | |
set -x | |
ld -v | |
ldd --version | |
g++ -v | |
- run: make nix | |
- env: | |
MKN_GCC_PREFERRED: 1 | |
KUL_GIT_CO: --depth 1 | |
run: | | |
ldd mkn | |
KLOG=3 ./mkn build -dtKa "-std=c++17 -fPIC" -O 2 -g 0 -W 9 | |
KLOG=3 ./mkn build -Op test_mod -a "-std=c++17 -fPIC" -O 2 -g 0 -W 9 | |
KLOG=3 ./mkn build test pack -Op test -a "-std=c++17 -fPIC" -O 2 -g 0 -W 9 | |
ldd bin/build/mkn | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: mkn | |
path: bin/build/mkn |