Skip to content

Commit

Permalink
Merge pull request #33 from 1Codealot/workflow_stuff
Browse files Browse the repository at this point in the history
Changes to workflows
  • Loading branch information
1Codealot authored May 20, 2024
2 parents 3c35a5b + 8e34cbd commit db7e437
Show file tree
Hide file tree
Showing 7 changed files with 76 additions and 6 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/MACOS_create_binary.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: MACOS_Upload_Binary

on:
push:
tags:
- '*'

jobs:
build:

runs-on: macos-latest
steps:
- uses: actions/checkout@v3

- name: Build
run: make Final_Name=CLI_Timer_MacOs

- name: upload to release
env:
GH_TOKEN: ${{ github.token }}
run: gh release upload ${{github.ref_name}} ./Final_Build/CLI_Timer_MacOs



2 changes: 1 addition & 1 deletion .github/workflows/MACOS_makefile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ jobs:
- uses: actions/checkout@v3

- name: Build
run: make STD=20
run: make
24 changes: 24 additions & 0 deletions .github/workflows/UBUNTU_create_binary.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: UBUNTU_Upload_Binary

on:
push:
tags:
- '*'

jobs:
build:

runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Build
run: make Final_Name=CLI_Timer_Linux

- name: upload to release
env:
GH_TOKEN: ${{ github.token }}
run: gh release upload ${{github.ref_name}} ./Final_Build/CLI_Timer_Linux



4 changes: 1 addition & 3 deletions .github/workflows/UBUNTU_makefile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,4 @@ jobs:
run: make

- name: Install man page
run: sudo make -C ./man_pages && make -C ./man_pages clean


run: sudo make -C ./man_pages && make -C ./man_pages clean
24 changes: 24 additions & 0 deletions .github/workflows/WINDOWS_create_binary.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: WINDOWS_Upload_Binary

on:
push:
tags:
- '*'

jobs:
build:

runs-on: windows-latest
steps:
- uses: actions/checkout@v3

- name: Build
run: make Final_Name=CLI_Timer_Windows.exe

- name: upload to release
env:
GH_TOKEN: ${{ github.token }}
run: gh release upload ${{github.ref_name}} ./Final_Build/CLI_Timer_Windows.exe



2 changes: 1 addition & 1 deletion .github/workflows/WINDOWS_makefile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ jobs:
- uses: actions/checkout@v3

- name: Build
run: make
run: make
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Final_Name = CLI_Timer
Build_Path = $(Build_Dir)$(Final_Name)
Install_Path = /bin/$(Final_Name)

STD ?= 23
STD ?= 2b

CPPFLAGS = -Wall -Wextra -Wpedantic -O3

Expand Down

0 comments on commit db7e437

Please sign in to comment.