Update test.yml

This commit is contained in:
Егор 2024-11-17 16:58:05 +05:00 committed by GitHub
parent 743ad5a0cd
commit fe4d4bc277
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -97,6 +97,13 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: deb-package-build needs: deb-package-build
steps: steps:
- uses: actions/checkout@v4
- name: Build
run: |
cmake -B ${{ github.workspace }}/build
cmake --build ${{ github.workspace }}/build --target deb
- 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
@ -139,6 +146,18 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: chocolatey-package-build needs: chocolatey-package-build
steps: steps:
- uses: actions/checkout@v4
- name: Install modules
run: |
Set-PSRepository PSGallery -InstallationPolicy Trusted
Install-Module -Name 7Zip4PowerShell
- name: Build
run: |
cmake -B ${{ github.workspace }}/build
cmake --build ${{ github.workspace }}/build --target choco
- name: Install package - name: Install package
run: choco install ${{ github.workspace }}\build\choco-package.nupkg run: choco install ${{ github.workspace }}\build\choco-package.nupkg