Compare commits

..

No commits in common. "e52e32a2c0dbf857aa50ec937fade1431e3b595e" and "0391ec2b690c39867f31d4f2978d477f9340c611" have entirely different histories.

6 changed files with 19 additions and 29 deletions

View File

@ -18,7 +18,7 @@ on:
push: push:
# Enable when testing release infrastructure on a branch. # Enable when testing release infrastructure on a branch.
branches: branches:
- kjuulh/test - kjuulh/tests
tags: tags:
- "[0-9]+.[0-9]+.[0-9]+" - "[0-9]+.[0-9]+.[0-9]+"
jobs: jobs:
@ -68,7 +68,7 @@ jobs:
PCRE2_SYS_STATIC: 1 PCRE2_SYS_STATIC: 1
strategy: strategy:
matrix: matrix:
build: [linux, linux-arm, macos] #, win-msvc, win-gnu, win32-msvc] build: [linux, linux-arm, macos, win-msvc, win-gnu, win32-msvc]
include: include:
- build: linux - build: linux
os: ubuntu-22.04 os: ubuntu-22.04
@ -81,20 +81,19 @@ jobs:
- build: macos - build: macos
os: macos-12 os: macos-12
rust: nightly rust: nightly
target: target: x86_64-apple-darwin
x86_64-apple-darwin - build: win-msvc
# - build: win-msvc os: windows-2022
# os: windows-2022 rust: nightly
# rust: nightly target: x86_64-pc-windows-msvc
# target: x86_64-pc-windows-msvc - build: win-gnu
# - build: win-gnu os: windows-2022
# os: windows-2022 rust: nightly-x86_64-gnu
# rust: nightly-x86_64-gnu target: x86_64-pc-windows-gnu
# target: x86_64-pc-windows-gnu - build: win32-msvc
# - build: win32-msvc os: windows-2022
# os: windows-2022 rust: nightly
# rust: nightly target: i686-pc-windows-msvc
# target: i686-pc-windows-msvc
steps: steps:
- name: Checkout repository - name: Checkout repository
@ -149,8 +148,8 @@ jobs:
staging="kignore-${{ needs.create-release.outputs.kignore_version }}-${{ matrix.target }}" staging="kignore-${{ needs.create-release.outputs.kignore_version }}-${{ matrix.target }}"
mkdir -p "$staging"/{complete,doc} mkdir -p "$staging"/{complete,doc}
cp {README.md,LICENSE-MIT} "$staging/" cp {README.md,COPYING,UNLICENSE,LICENSE-MIT} "$staging/"
#cp {CHANGELOG.md,FAQ.md,GUIDE.md} "$staging/doc/" cp {CHANGELOG.md,FAQ.md,GUIDE.md} "$staging/doc/"
#cp "$outdir"/{rg.bash,rg.fish,_rg.ps1} "$staging/complete/" #cp "$outdir"/{rg.bash,rg.fish,_rg.ps1} "$staging/complete/"
#cp complete/_rg "$staging/complete/" #cp complete/_rg "$staging/complete/"
@ -160,7 +159,7 @@ jobs:
echo "ASSET=$staging.zip" >> $GITHUB_ENV echo "ASSET=$staging.zip" >> $GITHUB_ENV
else else
# The man page is only generated on Unix systems. # The man page is only generated on Unix systems.
#cp "$outdir"/kignore.1 "$staging/doc/" cp "$outdir"/kignore.1 "$staging/doc/"
cp "target/${{ matrix.target }}/release/kignore" "$staging/" cp "target/${{ matrix.target }}/release/kignore" "$staging/"
tar czf "$staging.tar.gz" "$staging" tar czf "$staging.tar.gz" "$staging"
echo "ASSET=$staging.tar.gz" >> $GITHUB_ENV echo "ASSET=$staging.tar.gz" >> $GITHUB_ENV

View File

@ -1,7 +0,0 @@
Copyright 2022 Kasper Juul Hermansen
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

View File

@ -42,6 +42,4 @@ git clone https://github.com/kjuulh/gitignore
### Homebrew ### Homebrew
Added in HomebrewFormula TBA
Instructions TBA

0
ci/build-dep Executable file → Normal file
View File

0
ci/cargo-out-dir Executable file → Normal file
View File

0
ci/ubuntu-install-packages Executable file → Normal file
View File