-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'refs/remotes/origin/master'
Adding support for Zandronum
- Loading branch information
Showing
27 changed files
with
467 additions
and
153 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,47 @@ | ||
name: Build CI | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
jobs: | ||
build_linux: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: autogen | ||
run: ./autogen.sh | ||
- name: autoreconf force | ||
run: autoreconf --force | ||
- name: configure | ||
run: ./configure | ||
- name: make check | ||
run: make check | ||
- name: make distcheck | ||
run: make distcheck | ||
|
||
build_macos: | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: install automake | ||
run: brew install automake | ||
- name: autogen | ||
run: ./autogen.sh | ||
- name: autoreconf force | ||
run: autoreconf --force | ||
- name: configure | ||
run: ./configure | ||
- name: make check | ||
run: make check | ||
|
||
build_windows: | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: ilammy/msvc-dev-cmd@v1 | ||
- name: nmake debug build | ||
run: | | ||
nmake -f Makefile.noauto windows_debug |
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,79 @@ | ||
name: Tag Release | ||
|
||
on: | ||
push: | ||
tags: | ||
- 'v*' | ||
|
||
jobs: | ||
build_linux: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: autogen | ||
run: ./autogen.sh | ||
- name: configure | ||
run: ./configure | ||
- name: make | ||
run: QSTAT_VERSION=${{ github.event.release.tag_name }} make | ||
- uses: actions/upload-artifact@v2 | ||
with: | ||
name: linux_amd64 | ||
path: qstat | ||
|
||
build_macos: | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: install automake | ||
run: brew install automake | ||
- name: autogen | ||
run: ./autogen.sh | ||
- name: configure | ||
run: ./configure | ||
- name: make | ||
run: QSTAT_VERSION=${{ github.event.release.tag_name }} make | ||
- uses: actions/upload-artifact@v2 | ||
with: | ||
name: darwin_amd64 | ||
path: qstat | ||
|
||
|
||
build_windows: | ||
runs-on: windows-latest | ||
env: | ||
QSTAT_VERSION: ${{ github.event.release.tag_name }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: ilammy/msvc-dev-cmd@v1 | ||
- name: nmake | ||
run: | | ||
nmake -f Makefile.noauto windows windows_debug | ||
- uses: actions/upload-artifact@v2 | ||
with: | ||
name: windows_amd64 | ||
path: qstat.exe | ||
# TODO(austin) build for mac-os which would cover freebsd | ||
# https://github.com/vmactions/freebsd-vm | ||
release: | ||
runs-on: ubuntu-latest | ||
needs: | ||
- build_windows | ||
- build_linux | ||
- build_macos | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/download-artifact@v2 | ||
with: | ||
path: bin | ||
- name: zip | ||
run: zip -r release.zip bin/* qstat.cfg contrib.cfg LICENSE.* | ||
- name: Release | ||
uses: "softprops/action-gh-release@v1" | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
prerelease: false | ||
tag_name: "${{ github.event.release.tag_name }}" | ||
files: | | ||
release.zip |
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 |
---|---|---|
|
@@ -19,3 +19,6 @@ stamp-h1 | |
*.pdb | ||
qstat | ||
qstat.exe | ||
.compiler_flags | ||
.version | ||
version.h |
This file was deleted.
Oops, something went wrong.
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,43 @@ | ||
# Compilation instructions for qStat | ||
|
||
## Linux and other GNU systems | ||
|
||
### Build | ||
```shall | ||
./configure && make | ||
``` | ||
### Install | ||
To install qstat run | ||
```shell | ||
make install | ||
``` | ||
### Configuration | ||
To see which configuration parameters can be tweaked, run | ||
```shell | ||
./configure --help | ||
``` | ||
|
||
If you want to compile from GIT you need to first install `autoconf` and `automake`, then run | ||
```shell | ||
./autogen.sh | ||
``` | ||
|
||
## Windows | ||
Release build | ||
```shell | ||
nmake /f Makefile.noauto windows | ||
``` | ||
Debug build | ||
```shell | ||
nmake /f Makefile.noauto windows_debug | ||
``` | ||
|
||
## Solaris | ||
```shell | ||
make -f Makefile.noauto solaris | ||
``` | ||
|
||
## HPUX | ||
```shell | ||
make -f Makefile.noauto hpux | ||
``` |
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.