Skip to content

Commit

Permalink
Merge pull request #2 from Elypha/dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Elypha authored Dec 26, 2023
2 parents 0c4b43b + da73155 commit 5bb08a7
Show file tree
Hide file tree
Showing 19 changed files with 1,110 additions and 259 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
31 changes: 31 additions & 0 deletions .github/workflows/aria2c-linux-amd64-openssl.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: aria2c-linux-amd64-openssl

on:
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-22.04

steps:
- name: Checkout
uses: actions/checkout@v4
with:
sparse-checkout: |
aria2c-linux-amd64-openssl.dockerfile
sparse-checkout-cone-mode: false

- name: Docker build
run: docker build -t build_i - < aria2c-linux-amd64-openssl.dockerfile

- name: Fetch
run: |
docker run --name build_c build_i \
docker cp build_c:/build/aria2c .
- name: Upload
uses: actions/upload-artifact@v4
with:
name: aria2c-linux-amd64-openssl
path: |
./aria2c
33 changes: 33 additions & 0 deletions .github/workflows/aria2c-windows-i686-openssl.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: aria2c-windows-i686-openssl

on:
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-22.04

steps:
- name: Checkout
uses: actions/checkout@v4
with:
sparse-checkout: |
aria2c-windows-i686-openssl.dockerfile
sparse-checkout-cone-mode: false

- name: Docker build
run: docker build -t build_i - < aria2c-windows-i686-openssl.dockerfile

- name: Fetch
run: |
docker run --name build_c build_i \
docker cp build_c:/build/aria2c.exe . \
docker cp build_c:/etc/ssl/certs/ca-certificates.crt .
- name: Upload
uses: actions/upload-artifact@v4
with:
name: aria2c-windows-i686-openssl
path: |
./aria2c.exe
./ca-certificates.crt
31 changes: 31 additions & 0 deletions .github/workflows/aria2c-windows-i686-wintls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: aria2c-windows-i686-wintls

on:
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-22.04

steps:
- name: Checkout
uses: actions/checkout@v4
with:
sparse-checkout: |
aria2c-windows-i686-wintls.dockerfile
sparse-checkout-cone-mode: false

- name: Docker build
run: docker build -t build_i - < aria2c-windows-i686-wintls.dockerfile

- name: Fetch
run: |
docker run --name build_c build_i \
docker cp build_c:/build/aria2c.exe .
- name: Upload
uses: actions/upload-artifact@v4
with:
name: aria2c-windows-i686-wintls
path: |
./aria2c.exe
33 changes: 33 additions & 0 deletions .github/workflows/aria2c-windows-x86_64-openssl.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: aria2c-windows-x86_64-openssl

on:
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-22.04

steps:
- name: Checkout
uses: actions/checkout@v4
with:
sparse-checkout: |
aria2c-windows-x86_64-openssl.dockerfile
sparse-checkout-cone-mode: false

- name: Docker build
run: docker build -t build_i - < aria2c-windows-x86_64-openssl.dockerfile

- name: Fetch
run: |
docker run --name build_c build_i \
docker cp build_c:/build/aria2c.exe . \
docker cp build_c:/etc/ssl/certs/ca-certificates.crt .
- name: Upload
uses: actions/upload-artifact@v4
with:
name: aria2c-windows-x86_64-openssl
path: |
./aria2c.exe
./ca-certificates.crt
31 changes: 31 additions & 0 deletions .github/workflows/aria2c-windows-x86_64-wintls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: aria2c-windows-x86_64-wintls

on:
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-22.04

steps:
- name: Checkout
uses: actions/checkout@v4
with:
sparse-checkout: |
aria2c-windows-x86_64-wintls.dockerfile
sparse-checkout-cone-mode: false

- name: Docker build
run: docker build -t build_i - < aria2c-windows-x86_64-wintls.dockerfile

- name: Fetch
run: |
docker run --name build_c build_i \
docker cp build_c:/build/aria2c.exe .
- name: Upload
uses: actions/upload-artifact@v4
with:
name: aria2c-windows-x86_64-wintls
path: |
./aria2c.exe
29 changes: 0 additions & 29 deletions .github/workflows/build-aria2c-linux-amd64.yml

This file was deleted.

35 changes: 0 additions & 35 deletions .github/workflows/build-aria2c-windows-amd64.yml

This file was deleted.

12 changes: 6 additions & 6 deletions .github/workflows/build-ariang-windows-amd64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install Node.js
shell: pwsh
run: |
Invoke-WebRequest -Uri "https://nodejs.org/dist/v20.3.0/node-v20.3.0-x64.msi" -OutFile "nodejs.msi"; `
Invoke-WebRequest -Uri "https://nodejs.org/dist/v21.5.0/node-v21.5.0-x64.msi" -OutFile "nodejs.msi"; `
msiexec /i nodejs.msi
- name: Get source code
Expand Down Expand Up @@ -42,25 +42,25 @@ jobs:
npm run publish:win;
- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: AriaNg_Native-windows-x64.7z
path: ariang/dist/AriaNg_Native-?.?.?-Windows-x64.7z

- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: AriaNg_Native-windows-x86.7z
path: ariang/dist/AriaNg_Native-?.?.?-Windows-x86.7z

- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: AriaNg_Native-windows-x64.exe
path: ariang/dist/AriaNg_Native-?.?.?-Windows-x64.exe

- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: AriaNg_Native-windows-x86.exe
path: ariang/dist/AriaNg_Native-?.?.?-Windows-x86.exe
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
notes.md
Loading

0 comments on commit 5bb08a7

Please sign in to comment.