Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Build

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

env:
CARGO_TERM_COLOR: always

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2024-04-20
override: true
components: rust-src, rustfmt, clippy
- name: Install WebAssembly target
run: rustup target add wasm32-unknown-unknown
- name: Install MUSL target
run: rustup target add x86_64-unknown-linux-musl
- name: Build Client
working-directory: ./client
run: cargo build --target wasm32-unknown-unknown --locked
- name: Build Server
working-directory: ./server
run: cargo build --target x86_64-unknown-linux-musl --locked
- name: Build Sprite Sheet Util
working-directory: ./sprite_sheet_util
run: cargo build --locked
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[workspace]
members = ["*"]
exclude = ["archive", "assets", "makefiles", "target", ".cargo", ".git"]
exclude = ["archive", "assets", "makefiles", "target", ".cargo", ".git", ".github"]
resolver = "2"
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Kodiak

[![Build](https://github.com/SoftbearStudios/kodiak/actions/workflows/build.yml/badge.svg)](https://github.com/SoftbearStudios/kodiak/actions/workflows/build.yml)

Kodiak is a custom game engine; we use it in all of our games.

## Key features
Expand Down Expand Up @@ -34,4 +36,4 @@ Note: we're still preparing dev tools to be open-sourced.
## Notice

Certain features, like chat, are tied to our backend microservice. We might add
polyfills in the future.
polyfills in the future.
Loading