Skip to content

Commit

Permalink
Add build check CI
Browse files Browse the repository at this point in the history
  • Loading branch information
szapp committed Dec 19, 2023
1 parent 3dc5466 commit 2a5e00a
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
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:
workflow_dispatch:

jobs:
build:

runs-on: windows-latest

steps:
- uses: actions/checkout@v3
with:
path: .

- name: Donwload dependencies
run: |
Invoke-WebRequest https://www.nasm.us/pub/nasm/releasebuilds/2.16.01/win64/nasm-2.16.01-win64.zip -O nasm.zip
Invoke-WebRequest https://deac-riga.dl.sourceforge.net/project/gnuwin32/grep/2.5.4/grep-2.5.4-bin.zip -O grep.zip
Invoke-WebRequest https://master.dl.sourceforge.net/project/gnuwin32/grep/2.5.4/grep-2.5.4-dep.zip?viasf=1 -O grep-dep.zip
mkdir nasm
mkdir grep
unzip nasm.zip nasm-2.16.01/nasm.exe -d nasm
unzip grep.zip bin/grep.exe -d grep
unzip grep-dep.zip bin/* -d grep
mv grep/bin/* .
mv nasm/nasm-2.16.01/nasm.exe ./nasm.exe
- name: Assemble injections
shell: cmd
run: |
mkdir bin
make src/inc/injections.inc
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Ninja

[![Build status](https://github.com/szapp/Ninja/actions/workflows/build.yml/badge.svg?branch=master)](https://github.com/szapp/Ninja/actions/workflows/build.yml)
[![Documentation](https://img.shields.io/badge/docs-wiki-blue)](https://github.com/szapp/Ninja/wiki)
[![GitHub release](https://img.shields.io/github/v/release/szapp/Ninja.svg)](https://github.com/szapp/Ninja/releases/latest)
![Combined downloads](https://api.szapp.de/downloads/ninja/total/badge)]

This repository contains the source code of the Ninja extension for Gothic 1 and Gothic 2 NotR.

If you are interested in developing patches with Ninja, please follow the instructions in the relevant chapters of the
Expand Down

0 comments on commit 2a5e00a

Please sign in to comment.