Skip to content

Commit

Permalink
update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
hofbi committed Mar 12, 2024
1 parent b7d5738 commit 3c4e859
Show file tree
Hide file tree
Showing 12 changed files with 187 additions and 46 deletions.
12 changes: 12 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"name": "LaTeX4Ei Devcontainer",
"image": "makeappdev/uselatex:latest",
"extensions": [
"eamodio.gitlens",
"James-Yu.latex-workshop",
"ms-azuretools.vscode-docker",
"ms-vscode-remote.vscode-remote-extensionpack",
"ms-vscode.cmake-tools",
"twxs.cmake"
],
}
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
blank_issues_enabled: true
contact_links:
- name: 🔍 Search for existing issues first.
url: https://github.com/latex4ei/Allgemein/issues
about: Please search to see if an issue already exists, either in this repo or our common issue in https://github.com/latex4ei/Allgemein/issues
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: enhancement
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
45 changes: 45 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Feature request
description: Suggest an idea for this project
labels: [enhancement]
assignees: []

body:
- type: markdown
attributes:
value: |
**Is your feature request related to a problem? Please describe.**
- type: textarea
id: problem-description
attributes:
label: Problem Description
description: A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

- type: markdown
attributes:
value: |
**Describe the solution you'd like**
- type: textarea
id: solution-description
attributes:
label: Solution Description
description: A clear and concise description of what you want to happen.

- type: markdown
attributes:
value: |
**Describe alternatives you've considered**
- type: textarea
id: alternatives-description
attributes:
label: Alternatives Description
description: A clear and concise description of any alternative solutions or features you've considered.

- type: markdown
attributes:
value: |
**Additional context**
- type: textarea
id: additional-context
attributes:
label: Additional Context
description: Add any other context or screenshots about the feature request here.
14 changes: 14 additions & 0 deletions .github/ISSUE_TEMPLATE/inhaltlicher_fehler.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
name: Inhaltlicher Fehler
about: Hilf uns Fehler zu Verbessern
title: ''
labels: bug
assignees: ''

---

**Fehlerbeschreibung**
Beschreibe hier den Fehler

**Referenz**
Wenn möglich immer eine Referenz zum Skript o.ä. angeben oder als Screenshot mit einfügen.
26 changes: 26 additions & 0 deletions .github/ISSUE_TEMPLATE/inhaltlicher_fehler.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Inhaltlicher Fehler
description: Hilf uns Fehler zu Verbessern
title: ''
labels: [bug]
assignees: []

body:
- type: markdown
attributes:
value: |
**Fehlerbeschreibung**
- type: textarea
id: error-description
attributes:
label: Fehlerbeschreibung
description: Beschreibe hier den Fehler

- type: markdown
attributes:
value: |
**Referenz**
- type: textarea
id: reference
attributes:
label: Referenz
description: Wenn möglich immer eine Referenz zum Skript o.ä. angeben oder als Screenshot mit einfügen.
14 changes: 14 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
name: Vorschlag Fehlerkorrektur
about: Du hast einen Fehler gefunden und willst ihn korrigieren
title: ''
labels: bug
assignees: ''

---

**Fehlerbeschreibung**
Beschreibe hier den Fehler

**Referenz**
Wenn möglich immer eine Referenz zum Skript o.ä. angeben oder als Screenshot mit einfügen.
38 changes: 38 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: CI

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
container: makeappdev/uselatex:latest
steps:
- uses: actions/checkout@v4
- name: Build
run: |
cmake --version; pdflatex --version
mkdir -p build && cd build
cmake ..
make
- name: Prepare Deployment
if: github.ref == 'refs/heads/master'
run: |
mkdir -p export
echo "# This branch is for deployment only" >> export/README.md
cp build/*.pdf export
cp build/git.id export
- name: Deploy
if: github.ref == 'refs/heads/master'
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: export
single-commit: true
silent: true
38 changes: 0 additions & 38 deletions .travis.yml

This file was deleted.

8 changes: 4 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
cmake_minimum_required(VERSION 2.8)
cmake_minimum_required(VERSION 3.12)

project(LA NONE)
include(UseLATEX)

add_custom_target(
writegitid ALL
COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/write-gitid.sh
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
writegitid ALL
COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/write-gitid.sh
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
)

add_latex_document(
Expand Down
8 changes: 4 additions & 4 deletions license.txt → LICENSE
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
LaTeX4EI Template Release 1.0 Date: 2016-01-06
LaTeX4EI Template Date: 2016-01-06



LICENSE:

You are allowed to create and share documents created
You are allowed to create and share documents created
with this template under the following conditions:


Expand All @@ -22,8 +22,8 @@ with this template under the following conditions:
Please push back your modifications to us so that we have the chance to integrate it.


If you want to publish your latex code you are allowed to publish the source code
If you want to publish your latex code you are allowed to publish the source code
of this template as well but you have to make sure that a copy of this license is included.


© 2011-2016, LaTeX4EI
© 2011-2024, LaTeX4EI
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,20 @@
[![Build Status](https://travis-ci.org/latex4ei/Lineare-Algebra.svg?branch=master)](https://travis-ci.org/latex4ei/Lineare-Algebra)
[![Join the chat at https://gitter.im/LaTeX4Ei/Lobby](https://badges.gitter.im/LaTeX4Ei/Lobby.svg)](https://gitter.im/LaTeX4Ei/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

Write beautiful latex cheat sheets with minimal effort.

## Formelsammlung für Latex4ei

**Required custom Package on GitHub:** [LaTeX4Ei](https://github.com/latex4ei/latex4ei-packages)

Public Version: [latex4ei.de](http://latex4ei.de)

## Optional: Build with CMake

Download [UseLaTeX.cmake](https://cmake.org/Wiki/CMakeUserUseLATEX) and move to `/usr/share/cmake-X.X/Modules/.`

##### Steps to build:

```shell
mkdir build
cd build
Expand Down

0 comments on commit 3c4e859

Please sign in to comment.