Skip to content

Commit

Permalink
broken build linux and macos_x64
Browse files Browse the repository at this point in the history
  • Loading branch information
aszabo314 committed Feb 24, 2023
1 parent b14811c commit 3caa4e4
Showing 1 changed file with 82 additions and 82 deletions.
164 changes: 82 additions & 82 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,41 +8,41 @@ on:
- RELEASE_NOTES.md
- .github/workflows/publish.yml
jobs:
mac_x64:
name: MacOS (x64)
runs-on: macos-11
steps:
- name: Checkout
uses: actions/checkout@v2
- name: 'Setup NuGet Credentials'
shell: 'bash'
run: >
mono .config/nuget.exe
sources add
-source "https://nuget.pkg.github.com/aardvark-community/index.json"
-storepasswordincleartext
-name "GitHub"
-username "aardvark-community"
-password "${{ secrets.GITHUB_TOKEN }}"
- name: Build Native Libraries
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: ./buildnative.sh x86_64
- name: Install Dotnet
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.100'
- name: Restore Tools
run: dotnet tool restore
- name: Restore
run: dotnet paket restore
- name: Test
run: dotnet run --project src/Test/Test.fsproj
- name: Upload MacOS native libs
uses: actions/upload-artifact@v2
with:
name: mac_x64
path: libs/Native/MiniCV/mac/AMD64/
# mac_x64:
# name: MacOS (x64)
# runs-on: macos-11
# steps:
# - name: Checkout
# uses: actions/checkout@v2
# - name: 'Setup NuGet Credentials'
# shell: 'bash'
# run: >
# mono .config/nuget.exe
# sources add
# -source "https://nuget.pkg.github.com/aardvark-community/index.json"
# -storepasswordincleartext
# -name "GitHub"
# -username "aardvark-community"
# -password "${{ secrets.GITHUB_TOKEN }}"
# - name: Build Native Libraries
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# run: ./buildnative.sh x86_64
# - name: Install Dotnet
# uses: actions/setup-dotnet@v1
# with:
# dotnet-version: '6.0.100'
# - name: Restore Tools
# run: dotnet tool restore
# - name: Restore
# run: dotnet paket restore
# - name: Test
# run: dotnet run --project src/Test/Test.fsproj
# - name: Upload MacOS native libs
# uses: actions/upload-artifact@v2
# with:
# name: mac_x64
# path: libs/Native/MiniCV/mac/AMD64/
mac_arm64:
name: MacOS (arm64)
runs-on: macos-11
Expand All @@ -68,41 +68,41 @@ jobs:
with:
name: mac_arm64
path: libs/Native/MiniCV/mac/ARM64/
linux_x64:
name: Linux (x64)
runs-on: ubuntu-18.04
steps:
- name: Checkout
uses: actions/checkout@v2
- name: 'Setup NuGet Credentials'
shell: 'bash'
run: >
mono .config/nuget.exe
sources add
-source "https://nuget.pkg.github.com/aardvark-community/index.json"
-storepasswordincleartext
-name "GitHub"
-username "aardvark-community"
-password "${{ secrets.GITHUB_TOKEN }}"
- name: Build Native Libraries
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: ./buildnative.sh
- name: Install Dotnet
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.100'
- name: Restore Tools
run: dotnet tool restore
- name: Restore
run: dotnet paket restore
- name: Test
run: dotnet run --project src/Test/Test.fsproj
- name: Upload Linux native libs
uses: actions/upload-artifact@v2
with:
name: linux_x64
path: libs/Native/MiniCV/linux/AMD64/
# linux_x64:
# name: Linux (x64)
# runs-on: ubuntu-18.04
# steps:
# - name: Checkout
# uses: actions/checkout@v2
# - name: 'Setup NuGet Credentials'
# shell: 'bash'
# run: >
# mono .config/nuget.exe
# sources add
# -source "https://nuget.pkg.github.com/aardvark-community/index.json"
# -storepasswordincleartext
# -name "GitHub"
# -username "aardvark-community"
# -password "${{ secrets.GITHUB_TOKEN }}"
# - name: Build Native Libraries
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# run: ./buildnative.sh
# - name: Install Dotnet
# uses: actions/setup-dotnet@v1
# with:
# dotnet-version: '6.0.100'
# - name: Restore Tools
# run: dotnet tool restore
# - name: Restore
# run: dotnet paket restore
# - name: Test
# run: dotnet run --project src/Test/Test.fsproj
# - name: Upload Linux native libs
# uses: actions/upload-artifact@v2
# with:
# name: linux_x64
# path: libs/Native/MiniCV/linux/AMD64/
windows_x64:
name: Windows (x64)
runs-on: windows-latest
Expand Down Expand Up @@ -146,29 +146,29 @@ jobs:
final:
name: "Pack"
needs:
- mac_x64
#- mac_x64
- windows_x64
- linux_x64
#- linux_x64
- mac_arm64
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Download MacOS dependencies (x64)
uses: actions/download-artifact@v2
with:
name: mac_x64
path: libs/Native/MiniCV/mac/AMD64/
# - name: Download MacOS dependencies (x64)
# uses: actions/download-artifact@v2
# with:
# name: mac_x64
# path: libs/Native/MiniCV/mac/AMD64/
- name: Download MacOS dependencies (arm64)
uses: actions/download-artifact@v2
with:
name: mac_arm64
path: libs/Native/MiniCV/mac/ARM64/
- name: Download Linux dependencies
uses: actions/download-artifact@v2
with:
name: linux_x64
path: libs/Native/MiniCV/linux/AMD64/
# - name: Download Linux dependencies
# uses: actions/download-artifact@v2
# with:
# name: linux_x64
# path: libs/Native/MiniCV/linux/AMD64/
- name: Download Windows dependencies
uses: actions/download-artifact@v2
with:
Expand Down

0 comments on commit 3caa4e4

Please sign in to comment.