Update .gitea/workflows/demo.yaml
This commit is contained in:
@@ -1,23 +1,23 @@
|
|||||||
name: Cross-Platform Build Checkon: [push]
|
name: Cross-Platform Build Checkon: [push]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test-mac-capabilities:
|
test-mac-capabilities:
|
||||||
runs-on: macos-latest # This works because of the labels we set earlier
|
runs-on: macos-latest # This works because of the labels we set earlier
|
||||||
steps:
|
steps:
|
||||||
- name: Check System
|
- name: Check System
|
||||||
run: |
|
run: |
|
||||||
echo "I am running on hardware:"
|
echo "I am running on hardware:"
|
||||||
sysctl -n machdep.cpu.brand_string
|
sysctl -n machdep.cpu.brand_string
|
||||||
echo "Operating System:"
|
echo "Operating System:"
|
||||||
sw_vers
|
sw_vers
|
||||||
|
|
||||||
- name: Check Xcode (iOS/macOS)
|
- name: Check Xcode (iOS/macOS)
|
||||||
run: |
|
run: |
|
||||||
xcodebuild -version || echo "Xcode not found!"
|
xcodebuild -version || echo "Xcode not found!"
|
||||||
|
|
||||||
- name: Check Cross-Compilers
|
- name: Check Cross-Compilers
|
||||||
run: |
|
run: |
|
||||||
echo "Checking for Go..."
|
echo "Checking for Go..."
|
||||||
go version || echo "Go not installed"
|
go version || echo "Go not installed"
|
||||||
echo "Checking for Zig..."
|
echo "Checking for Zig..."
|
||||||
zig version || echo "Zig not installed"
|
zig version || echo "Zig not installed"
|
||||||
Reference in New Issue
Block a user