Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
animetosho committed Aug 30, 2023
2 parents 216de7d + 403737c commit fca300e
Show file tree
Hide file tree
Showing 108 changed files with 5,810 additions and 1,844 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-dev-win64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
BUILD_LOGLEVEL: verbose
steps:
- uses: ilammy/setup-nasm@v1
- uses: actions/setup-python@v4
- uses: MatteoH2O1999/setup-python@v1
id: py
with:
python-version: '2.7'
Expand All @@ -20,7 +20,7 @@ jobs:
- run: (cd nexe && npm install --production)
- run: (cd nexe && node build)
- run: nexe\parpar.exe --version
- run: nexe\parpar.exe -r1 -s1M -onexe\test.par2 nexe\parpar.exe
- run: nexe\parpar.exe -r1 -s1M -o nexe\test.par2 nexe\parpar.exe
- run: move nexe\parpar.exe parpar.exe && 7z a -t7z -mx=9 parpar.7z parpar.exe
- uses: actions/upload-artifact@v3
with:
Expand Down
24 changes: 12 additions & 12 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,23 @@ jobs:
BUILD_LOGLEVEL: verbose
steps:
- uses: ilammy/setup-nasm@v1
- uses: actions/setup-python@v4
- uses: MatteoH2O1999/setup-python@v1
id: py
with:
python-version: '2.7'
- uses: actions/checkout@v3
- name: Get release
id: get_release
uses: bruceadams/get-release@v1.2.3
uses: bruceadams/get-release@v1.3.2
env:
GITHUB_TOKEN: ${{ github.token }}
- run: npm install --production --ignore-scripts
- run: (cd nexe && npm install --production)
- run: (cd nexe && node build)
- run: nexe\parpar.exe --version
- run: nexe\parpar.exe -r1 -s1M -onexe\test.par2 nexe\parpar.exe
- run: nexe\parpar.exe -r1 -s1M -o nexe\test.par2 nexe\parpar.exe
- run: move nexe\parpar.exe parpar.exe && 7z a -t7z -mx=9 parpar.7z parpar.exe
- uses: actions/upload-release-asset@v1
- uses: sekwah41/upload-release-assets@v1
env:
GITHUB_TOKEN: ${{ github.token }}
with:
Expand Down Expand Up @@ -63,7 +63,7 @@ jobs:
python-version: '3.9' # workaround "cannot import name 'Mapping' from 'collections'" error
- name: Get release
id: get_release
uses: bruceadams/get-release@v1.2.3
uses: bruceadams/get-release@v1.3.2
env:
GITHUB_TOKEN: ${{ github.token }}
- run: |
Expand All @@ -78,7 +78,7 @@ jobs:
- run: nexe/parpar --version
- run: nexe/parpar -r1 -s1M -onexe/test.par2 nexe/parpar
- run: xz -9e --x86 --lzma2 nexe/parpar -c > parpar.xz
- uses: actions/upload-release-asset@v1
- uses: sekwah41/upload-release-assets@v1
env:
GITHUB_TOKEN: ${{ github.token }}
with:
Expand Down Expand Up @@ -113,7 +113,7 @@ jobs:
arch: arm64
- name: Get release
id: get_release
uses: bruceadams/get-release@v1.2.3
uses: bruceadams/get-release@v1.3.2
env:
GITHUB_TOKEN: ${{ github.token }}
- run: npm install --production --ignore-scripts
Expand All @@ -125,7 +125,7 @@ jobs:
CC_host: cc
CXX_host: c++
- run: xz -9e --lzma2 nexe/parpar -c > parpar.xz
- uses: actions/upload-release-asset@v1
- uses: sekwah41/upload-release-assets@v1
env:
GITHUB_TOKEN: ${{ github.token }}
with:
Expand Down Expand Up @@ -166,7 +166,7 @@ jobs:
# packages: "libstdc++-$(c++ -dumpversion)-dev:i386 libc6-dev:i386"
# - name: Get release
# id: get_release
# uses: bruceadams/get-release@v1.2.3
# uses: bruceadams/get-release@v1.3.2
# env:
# GITHUB_TOKEN: ${{ github.token }}
# - run: npm install --production --ignore-scripts
Expand All @@ -178,7 +178,7 @@ jobs:
# CC_host: cc
# CXX_host: c++
# - run: xz -9e --arm --lzma2 nexe/parpar -c > parpar.xz
# - uses: actions/upload-release-asset@v1
# - uses: sekwah41/upload-release-assets@v1
# env:
# GITHUB_TOKEN: ${{ github.token }}
# with:
Expand All @@ -197,7 +197,7 @@ jobs:
- uses: actions/checkout@v3
- name: Get release
id: get_release
uses: bruceadams/get-release@v1.2.3
uses: bruceadams/get-release@v1.3.2
env:
GITHUB_TOKEN: ${{ github.token }}
- run: npm install --production --ignore-scripts
Expand All @@ -206,7 +206,7 @@ jobs:
- run: nexe/parpar --version
- run: nexe/parpar -r1 -s1M -onexe/test.par2 nexe/parpar
- run: xz -9e --x86 --lzma2 nexe/parpar -c > parpar.xz
- uses: actions/upload-release-asset@v1
- uses: sekwah41/upload-release-assets@v1
env:
GITHUB_TOKEN: ${{ github.token }}
with:
Expand Down
36 changes: 36 additions & 0 deletions .github/workflows/test-full.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Run PAR2 Create Tests
on:
workflow_dispatch:
push:

jobs:
test-node:
strategy:
fail-fast: false
matrix:
include:
- version: '0.10.48'
flags: ''
python2: true
- version: '4.9.1'
flags: ''
python2: true
- version: '12.22.12'
flags: '--trace-warnings'
python2: false
- version: '20.5.1'
flags: '--pending-deprecation --throw-deprecation --trace-warnings --openssl-legacy-provider'
python2: false
name: Test on Node v${{ matrix.version }}
runs-on: ubuntu-latest
steps:
- uses: MatteoH2O1999/setup-python@v1
with:
python-version: '2.7'
if: ${{ matrix.python2 }}
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.version }}
- run: npm install --production
- run: (cd test && node ${{ matrix.flags }} par-compare.js -f)
Loading

0 comments on commit fca300e

Please sign in to comment.