-
Notifications
You must be signed in to change notification settings - Fork 1
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
Showing
4 changed files
with
13 additions
and
10 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 |
---|---|---|
|
@@ -35,7 +35,7 @@ jobs: | |
with: | ||
msystem: ${{matrix.sys}} | ||
path-type: strict | ||
install: git groff | ||
install: git groff dos2unix | ||
pacboy: gcc:p meson:p nsis:p ninja:p jq:p | ||
- uses: actions/[email protected] | ||
- name: prepare | ||
|
@@ -57,13 +57,14 @@ jobs: | |
name: dist | ||
path: build/setup*dictpw* | ||
vs-build: | ||
needs: mingw-build | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
- name: setup | ||
run: | | ||
pip install meson | ||
choco install groff | ||
choco install groff dos2unix | ||
- uses: actions/[email protected] | ||
- name: prepare | ||
run: | | ||
|
@@ -85,7 +86,7 @@ jobs: | |
- name: installer | ||
run: | | ||
$ver = "${{needs.mingw-build.outputs.version}}" | ||
$out = "build\setup-dictpw-${ver}-vs-clang-aarch64.exe" | ||
$out = "build\setup-dictpw-" + "$ver" + "-vs-clang-aarch64.exe" | ||
$cmd = "makensis -DOUTFILE='" + "$out" + "' dictpw.nsi" | ||
$env:CHERE_INVOKING = 'yes' # Preserve the current working directory | ||
$env:MSYSTEM = 'MINGW64' # Start a 64 bit Mingw environment | ||
|
@@ -112,7 +113,7 @@ jobs: | |
env: | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: | | ||
(cd dist && for file in *.exe; do sha256sum *.exe > \ | ||
(cd dist && for file in *.exe; do sha256sum "$file" > \ | ||
"${file}.sha256sum"; done) | ||
ver="${{needs.mingw-build.outputs.version}}" | ||
gh release create "v$ver" --title "dictpw $ver" \ | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
[wrap-git] | ||
url = https://github.com/guijan/libobsd.git | ||
revision = respect-license | ||
depth = 1 | ||
[wrap-file] | ||
directory = libobsd-1.1.0 | ||
source_url = https://github.com/guijan/libobsd/releases/download/v1.1.0/libobsd-1.1.0.tar.xz | ||
source_filename = libobsd-1.1.0.tar.xz | ||
source_hash = 64343ccdd3b7c479954d9806a4531091195d410cc54d0172018d959a61693c2c | ||
|
||
[provide] | ||
libbsd-overlay = libobsd_dep | ||
libobsd = libobsd_dep | ||
|