-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 3218c39
Showing
52 changed files
with
3,289 additions
and
0 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,10 @@ | ||
"//registry.npmjs.org/:_authToken=$env:NPM_TOKEN`n" | out-file "$env:userprofile\.npmrc" -Encoding ASCII | ||
npm whoami | ||
|
||
$timestamp = Get-Date -Format yyyyMMddhhmmss | ||
$patchVersion = (npm --no-git-tag version patch) | ||
$nextVersion = "${patchVersion}-next.${timestamp}".Substring(1) | ||
echo $nextVersion | ||
|
||
npm version --no-git-tag -f $nextVersion | ||
npm run publish:next |
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,12 @@ | ||
#!/usr/bin/env bash | ||
set -ex | ||
|
||
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc | ||
npm whoami | ||
|
||
patchVersion=$(npm --no-git-tag version patch) | ||
nextVersion=${patchVersion}-next."$(date +%Y%m%d%H%M%S)" | ||
echo "${nextVersion:1}" | ||
|
||
npm version --no-git-tag -f "${nextVersion:1}" | ||
npm run publish:next |
Empty file.
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,4 @@ | ||
# These are supported funding model platforms | ||
|
||
github: s1hofmann | ||
patreon: s1hofmann |
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,15 @@ | ||
--- | ||
name: Bug report | ||
about: Create a bug report to help us enhance our images | ||
--- | ||
|
||
**Version** | ||
|
||
**Short overview** | ||
|
||
**Detailed error description** | ||
|
||
**Steps to reproduce error** | ||
|
||
**Additional content** | ||
> Please provide any (mandatory) additional data to reproduce the error (Dockerfiles etc.) |
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,13 @@ | ||
--- | ||
name: Enhancement | ||
about: Suggest a possible enhancement to the project | ||
--- | ||
|
||
**Short overview** | ||
|
||
**Use case** | ||
|
||
**Detailed description** | ||
|
||
**Additional content** | ||
> Please provide any (mandatory) additional data for your enhancement |
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,13 @@ | ||
--- | ||
name: Feature request | ||
about: Open a feature request | ||
--- | ||
|
||
**Short overview** | ||
|
||
**Use case** | ||
|
||
**Detailed feature description** | ||
|
||
**Additional content** | ||
> Please provide any (mandatory) additional data for your desired feature |
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,8 @@ | ||
--- | ||
name: Question | ||
about: File a request to resolve open questions | ||
--- | ||
|
||
**Short summary** | ||
|
||
**Detailed question** |
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,15 @@ | ||
--- | ||
name: Bugfix | ||
about: Request to merge a bugfix | ||
--- | ||
|
||
**Short summary** | ||
|
||
**Detailed description (motivation, use-case etc.)** | ||
|
||
**Screenshots (if appropriate)** | ||
|
||
**Checklist** | ||
|
||
- [ ] My change requires a change to the documentation. | ||
- [ ] I have updated the documentation accordingly. |
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,15 @@ | ||
--- | ||
name: Enhancement | ||
about: Request to merge an enhancement | ||
--- | ||
|
||
**Short summary** | ||
|
||
**Detailed description (motivation, use-case etc.)** | ||
|
||
**Screenshots (if appropriate)** | ||
|
||
**Checklist** | ||
|
||
- [ ] My change requires a change to the documentation. | ||
- [ ] I have updated the documentation accordingly. |
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,15 @@ | ||
--- | ||
name: Feature | ||
about: Request to merge a new feature | ||
--- | ||
|
||
**Short summary** | ||
|
||
**Detailed description (motivation, use-case etc.)** | ||
|
||
**Screenshots (if appropriate)** | ||
|
||
**Checklist** | ||
|
||
- [ ] My change requires a change to the documentation. | ||
- [ ] I have updated the documentation accordingly. |
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,39 @@ | ||
name: Run CI | ||
on: | ||
push: | ||
branches-ignore: | ||
- develop | ||
- release/** | ||
pull_request: | ||
|
||
jobs: | ||
test: | ||
strategy: | ||
matrix: | ||
os: [ ubuntu-20.04, macos-11, windows-2019 ] | ||
node: [ 16 ] | ||
runs-on: ${{matrix.os}} | ||
steps: | ||
- name: Set up Git repository | ||
uses: actions/checkout@v2 | ||
- name: Set up node | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: ${{matrix.node}} | ||
- name: Configure Linux environment | ||
if: ${{matrix.os == 'ubuntu-20.04'}} | ||
run: sudo apt-get install -y cmake libx11-dev zlib1g-dev libpng-dev libxtst-dev build-essential | ||
- name: Install | ||
run: npm run patch && npm i | ||
- name: Build | ||
run: npm run build:release | ||
- name: Run tests | ||
uses: GabrielBB/xvfb-action@v1 | ||
with: | ||
working-directory: ./test/ | ||
run: npm cit | ||
- name: Run window tests | ||
uses: GabrielBB/xvfb-action@v1 | ||
with: | ||
working-directory: ./test/window-integration-tests | ||
run: npm cit |
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,87 @@ | ||
name: Create snapshot release | ||
on: | ||
push: | ||
branches: | ||
- develop | ||
workflow_dispatch: | ||
inputs: | ||
reason: | ||
description: 'Reason for the snapshot release' | ||
required: true | ||
default: 'Snapshot release' | ||
|
||
jobs: | ||
test: | ||
strategy: | ||
matrix: | ||
os: [ ubuntu-20.04, macos-11, windows-2019 ] | ||
runs-on: ${{matrix.os}} | ||
steps: | ||
- name: Set up Git repository | ||
uses: actions/checkout@v2 | ||
- name: Set up node | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: ${{matrix.node}} | ||
- name: Configure Linux environment | ||
if: ${{matrix.os == 'ubuntu-20.04'}} | ||
run: sudo apt-get install -y cmake libx11-dev zlib1g-dev libpng-dev libxtst-dev build-essential | ||
- name: Install | ||
run: npm run patch && npm i | ||
- name: Build | ||
run: npm run build:release | ||
- name: Run tests | ||
uses: GabrielBB/xvfb-action@v1 | ||
with: | ||
working-directory: ./test/ | ||
run: npm cit | ||
- name: Run window tests | ||
if: ${{matrix.os == 'windows-2019'}} | ||
uses: GabrielBB/xvfb-action@v1 | ||
with: | ||
working-directory: ./test/window-integration-tests | ||
run: npm cit | ||
|
||
deploy: | ||
needs: | ||
- test | ||
strategy: | ||
matrix: | ||
os: [ ubuntu-20.04, macos-11, windows-2019 ] | ||
runs-on: ${{matrix.os}} | ||
steps: | ||
- name: Set up Git repository | ||
uses: actions/checkout@v2 | ||
- name: Set up node | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: 14 | ||
- name: Configure Linux environment | ||
if: ${{matrix.os == 'ubuntu-20.04'}} | ||
run: sudo apt-get install -y cmake libx11-dev zlib1g-dev libpng-dev libxtst-dev build-essential | ||
- name: Install | ||
run: npm run patch && npm i | ||
- name: Publish snapshot release | ||
if: ${{matrix.os == 'ubuntu-20.04' || matrix.os == 'macos-11'}} | ||
run: ./.build/pre-release.sh | ||
shell: bash | ||
env: | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
- name: Publish Windows snapshot release | ||
if: ${{matrix.os == 'windows-2019'}} | ||
run: ./.build/pre-release.ps1 | ||
shell: powershell | ||
env: | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
|
||
dispatch: | ||
needs: | ||
- deploy | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Dispatch snapshot release | ||
uses: peter-evans/repository-dispatch@v1 | ||
with: | ||
token: ${{ secrets.SNAPSHOT_DISPATCH_TOKEN }} | ||
repository: nut-tree/libnut-install | ||
event-type: snapshot-release |
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,61 @@ | ||
name: Create tagged release | ||
on: | ||
push: | ||
tags: | ||
- v*.*.* | ||
|
||
jobs: | ||
test: | ||
strategy: | ||
matrix: | ||
os: [ ubuntu-20.04, macos-11, windows-2019 ] | ||
runs-on: ${{matrix.os}} | ||
steps: | ||
- name: Set up Git repository | ||
uses: actions/checkout@v2 | ||
- name: Set up node | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: ${{matrix.node}} | ||
- name: Configure Linux environment | ||
if: ${{matrix.os == 'ubuntu-20.04'}} | ||
run: sudo apt-get install -y cmake libx11-dev zlib1g-dev libpng-dev libxtst-dev build-essential | ||
- name: Install | ||
run: npm run patch && npm i | ||
- name: Build | ||
run: npm run build:release | ||
- name: Run tests | ||
uses: GabrielBB/xvfb-action@v1 | ||
with: | ||
working-directory: ./test/ | ||
run: npm cit | ||
- name: Run window tests | ||
if: ${{matrix.os == 'windows-2019'}} | ||
uses: GabrielBB/xvfb-action@v1 | ||
with: | ||
working-directory: ./test/window-integration-tests | ||
run: npm cit | ||
|
||
deploy: | ||
needs: | ||
- test | ||
strategy: | ||
matrix: | ||
os: [ ubuntu-20.04, macos-11, windows-2019 ] | ||
runs-on: ${{matrix.os}} | ||
steps: | ||
- name: Set up Git repository | ||
uses: actions/checkout@v2 | ||
- name: Set up node | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: 14 | ||
- name: Configure Linux environment | ||
if: ${{matrix.os == 'ubuntu-20.04'}} | ||
run: sudo apt-get install -y cmake libx11-dev zlib1g-dev libpng-dev libxtst-dev build-essential | ||
- name: Install | ||
run: npm run patch && npm i | ||
- name: Publish tagged release | ||
uses: JS-DevTools/npm-publish@v1 | ||
with: | ||
token: ${{ secrets.NPM_TOKEN }} |
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,8 @@ | ||
build/ | ||
node_modules/ | ||
prebuilds/ | ||
.idea | ||
.vscode | ||
.cache | ||
cmake-build-debug | ||
.DS_Store |
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,21 @@ | ||
.idea | ||
.vscode | ||
.build | ||
.github | ||
3rdparty | ||
build/CMakeFiles | ||
build/cmake_install.cmake | ||
build/CMakeCache.txt | ||
build/Makefile | ||
build/*.vcxproj* | ||
build/*.sln | ||
build/x64/ | ||
build/libnut.dir/ | ||
CMakeFiles | ||
src | ||
test | ||
.travis.yml | ||
CMakeLists.txt | ||
GPATH | ||
GRTAGS | ||
GTAGS |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.