-
Notifications
You must be signed in to change notification settings - Fork 505
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build binaries with github actions (#334)
Bug: #331 * Create release.yml * Update contributing.md * make build verification more strict * change name and set nox session to non-interactive Co-authored-by: Chad Smith <[email protected]>
- Loading branch information
Showing
7 changed files
with
172 additions
and
37 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,70 @@ | ||
name: "Build gdbgui executables" | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
ubuntu_executable: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: "3.8" | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
python -m pip install nox | ||
- name: Compile linux gdbgui executable | ||
run: | | ||
nox --non-interactive --session build_executable_linux | ||
- name: Upload linux executable | ||
if: github.ref == 'refs/heads/master' | ||
uses: actions/upload-artifact@v1 | ||
with: | ||
name: gdbgui_linux | ||
path: ./executable/linux | ||
|
||
mac_executable: | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: "3.8" | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
python -m pip install nox | ||
- name: Compile mac gdbgui executable | ||
run: | | ||
nox --non-interactive --session build_executable_mac | ||
- name: Upload mac executable | ||
if: github.ref == 'refs/heads/master' | ||
uses: actions/upload-artifact@v1 | ||
with: | ||
name: gdbgui_mac | ||
path: ./executable/mac | ||
|
||
windows_executable: | ||
runs-on: windows-2019 | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: "3.8" | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
python -m pip install nox | ||
- name: Compile windows gdbgui executable | ||
run: | | ||
nox --non-interactive --session build_executable_windows | ||
- name: Upload windows executable | ||
if: github.ref == 'refs/heads/master' | ||
uses: actions/upload-artifact@v1 | ||
with: | ||
name: gdbgui_windows | ||
path: ./executable/windows |
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
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
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