Skip to content

openharmony-zig/setup-zig-ohos

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

setup-zig-ohos

This is a simple Github Action to download and setup zig-lang which patched for OpenHarmony. It can help us to use zig in Github Action.

Example

name: Main

on: push

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v4
      - name: Setup Zig OpenHarmony SDK
        uses: openharmony-zig/[email protected]

Options

inputs

Name Type Default Description
tag String 0.16.0-dev.312+164c598cd zig version which will download from zig-patch
cache Boolean true Uses the GitHub actions cache to cache the SDK when enabled.

Support Platforms

  • aarch64 mac
  • x86_64 window
  • x86_64 linux for musl
  • x86_64 linux for gnu

License

MIT

About

Github Action to setup zig-patch for OpenHarmony

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages