mirror of
https://github.com/Egor00f/kolibrios-gcc-toolchain.git
synced 2024-11-21 17:03:48 +01:00
Update test.yml
Separation of package build tests, packages and installation script
This commit is contained in:
parent
0a93ba45c2
commit
80198a0692
23
.github/workflows/test.yml
vendored
23
.github/workflows/test.yml
vendored
@ -12,7 +12,6 @@ jobs:
|
|||||||
#Test linux install script
|
#Test linux install script
|
||||||
linux-install:
|
linux-install:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
@ -53,6 +52,7 @@ jobs:
|
|||||||
#Test Windows Installer
|
#Test Windows Installer
|
||||||
build-Installer:
|
build-Installer:
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
|
needs: PowerShell-install
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
@ -68,9 +68,10 @@ jobs:
|
|||||||
# Upload entire repository
|
# Upload entire repository
|
||||||
path: './build/installer.exe'
|
path: './build/installer.exe'
|
||||||
|
|
||||||
# Test Package
|
# Test deb package build
|
||||||
deb-package:
|
deb-package-build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
needs: linux-install
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
@ -86,6 +87,11 @@ jobs:
|
|||||||
# Upload entire repository
|
# Upload entire repository
|
||||||
path: './build/package.deb'
|
path: './build/package.deb'
|
||||||
|
|
||||||
|
# Test deb package install/remove
|
||||||
|
deb-package-test:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
needs: deb-package-build
|
||||||
|
steps:
|
||||||
- name: Install package
|
- name: Install package
|
||||||
run: echo '/kolibrios-toolchain' | sudo apt install ${{ github.workspace }}/build/package.deb -y
|
run: echo '/kolibrios-toolchain' | sudo apt install ${{ github.workspace }}/build/package.deb -y
|
||||||
|
|
||||||
@ -104,9 +110,10 @@ jobs:
|
|||||||
- name: Remove package
|
- name: Remove package
|
||||||
run: sudo apt remove kos32-gcc
|
run: sudo apt remove kos32-gcc
|
||||||
|
|
||||||
#Test chocolatey package
|
#Test chocolatey package build
|
||||||
chocolatey-package:
|
chocolatey-package-build:
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
|
needs: PowerShell-install
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
@ -122,8 +129,14 @@ jobs:
|
|||||||
# Upload entire repository
|
# Upload entire repository
|
||||||
path: './build/choco-package.nupkg'
|
path: './build/choco-package.nupkg'
|
||||||
|
|
||||||
|
# Test chocolatey package install/remove
|
||||||
|
chocolatey-package-test:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
needs: chocolatey-package-build
|
||||||
|
steps:
|
||||||
- name: Install package
|
- name: Install package
|
||||||
run: choco install ${{ github.workspace }}\build\choco-package.nupkg
|
run: choco install ${{ github.workspace }}\build\choco-package.nupkg
|
||||||
|
|
||||||
- name: Remove package
|
- name: Remove package
|
||||||
run: choco uninstall kos32-gcc
|
run: choco uninstall kos32-gcc
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user