Skip to content

Commit

Permalink
woops pt.5
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeByAidan committed Nov 7, 2023
1 parent d581fac commit 3525295
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,6 @@ jobs:
if: matrix.os == 'ubuntu-latest'
run: sudo apt-get update && sudo apt-get install -y mingw-w64

- name: Create build directories
run: |
mkdir -p ${{env.BUILD_DIR}}/ubuntu
mkdir -p ${{env.BUILD_DIR}}/windows
- name: Compile on Ubuntu
if: matrix.os == 'ubuntu-latest'
run: gcc -o ${{env.BUILD_DIR}}/ubuntu/largeintcalculator largeintcalculator.c
Expand All @@ -38,6 +33,11 @@ jobs:
if: matrix.os == 'windows-latest'
run: x86_64-w64-mingw32-gcc -o ${{env.BUILD_DIR}}/windows/largeintcalculator.exe largeintcalculator.c

- name: Display file sizes
run: |
du -h ${{env.BUILD_DIR}}/ubuntu/largeintcalculator
du -h ${{env.BUILD_DIR}}/windows/largeintcalculator.exe
- name: Commit and push
run: |
git config --local user.email "[email protected]"
Expand Down

0 comments on commit 3525295

Please sign in to comment.