Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added CI #1

Merged
merged 1 commit into from
Feb 22, 2021
Merged
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
32 changes: 32 additions & 0 deletions .github/workflows/ci-workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Continuous integration
on: [pull_request, push]

jobs:
linux:
runs-on: ubuntu-latest
steps:
- name: Install deps
run: sudo apt-get install build-essential imagemagick libfreetype6-dev libjpeg-dev libpng-dev pkg-config
- name: Checkout epsilon
uses: actions/checkout@v2
with:
repository: 'numworks/epsilon'
ref: 'master'
- name: Patch apps_layout
run: |
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We will have to remember removing this patch as soon as numworks/epsilon#1748 is merged

cat > apps/apps_layout.csv << EOF
Default,calculation,atomic,graph,code,statistics,probability,solver,sequence,regression,settings
HidePython,calculation,atomic,graph,solver,statistics,probability,regression,sequence,code,settings
EOF
- name: Checkout atomic
uses: actions/checkout@v2
with:
path: 'apps/atomic'
- name: Build
run: make -j2 PLATFORM=simulator EPSILON_APPS="atomic settings"
- name: Upload
uses: actions/upload-artifact@master
with:
name: epsilon-linux.bin
path: output/release/simulator/linux/epsilon.bin

4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ apps_src += $(addprefix apps/atomic/,\
atom_info.cpp \
)

i18n_files += $(call i18n_without_universal_for,atomic/base) $(call i18n_without_universal_for,atomic/atomsName)
i18n_files += $(call i18n_with_universal_for,atomic/base) $(call i18n_with_universal_for,atomic/atomsName)

$(eval $(call depends_on_image,apps/atomic/app.cpp,apps/atomic/atomic_icon.png))
$(eval $(call depends_on_image,apps/atomic/app.cpp,apps/atomic/atomic_icon.png))
Empty file added atomsName.de.i18n
Empty file.
118 changes: 0 additions & 118 deletions atomsName.en.i18n
Original file line number Diff line number Diff line change
@@ -1,118 +0,0 @@
AtomName_Hydrogen = "Hydrogen"
AtomName_Helium = "Helium"
AtomName_Lithium = "Lithium"
AtomName_Beryllium = "Beryllium"
AtomName_Boron = "Boron"
AtomName_Carbon = "Carbon"
AtomName_Nitrogen = "Nitrogen"
AtomName_Oxygen = "Oxygen"
AtomName_Fluorine = "Fluorine"
AtomName_Neon = "Neon"
AtomName_Sodium = "Sodium"
AtomName_Magnesium = "Magnesium"
AtomName_Aluminium = "Aluminium"
AtomName_Silicon = "Silicon"
AtomName_Phosphorus = "Phosphorus"
AtomName_Sulfur = "Sulfur"
AtomName_Chlorine = "Chlorine"
AtomName_Argon = "Argon"
AtomName_Potassium = "Potassium"
AtomName_Calcium = "Calcium"
AtomName_Scandium = "Scandium"
AtomName_Titanium = "Titanium"
AtomName_Vanadium = "Vanadium"
AtomName_Chromium = "Chromium"
AtomName_Manganese = "Manganese"
AtomName_Iron = "Iron"
AtomName_Cobalt = "Cobalt"
AtomName_Nickel = "Nickel"
AtomName_Copper = "Copper"
AtomName_Zinc = "Zinc"
AtomName_Gallium = "Gallium"
AtomName_Germanium = "Germanium"
AtomName_Arsenic = "Arsenic"
AtomName_Selenium = "Selenium"
AtomName_Bromine = "Bromine"
AtomName_Krypton = "Krypton"
AtomName_Rubidium = "Rubidium"
AtomName_Strontium = "Strontium"
AtomName_Yttrium = "Yttrium"
AtomName_Zirconium = "Zirconium"
AtomName_Niobium = "Niobium"
AtomName_Molybdenum = "Molybdenum"
AtomName_Technetium = "Technetium"
AtomName_Ruthemium = "Ruthemium"
AtomName_Rhodium = "Rhodium"
AtomName_Palladium = "Palladium"
AtomName_Silver = "Silver"
AtomName_Cadmium = "Cadmium"
AtomName_Indium = "Indium"
AtomName_Tin = "Tin"
AtomName_Antimony = "Antimony"
AtomName_Tellurium = "Tellurium"
AtomName_Indine = "Indine"
AtomName_Xenon = "Xenon"
AtomName_Caesium = "Caesium"
AtomName_Barium = "Barium"
AtomName_Lanthanum = "Lanthanum"
AtomName_Cerium = "Cerium"
AtomName_Praseodymium = "Praseodymium"
AtomName_Neodymium = "Neodymium"
AtomName_Promethium = "Promethium"
AtomName_Samarium = "Samarium"
AtomName_Europium = "Europium"
AtomName_Gadolinium = "Gadolinium"
AtomName_Terbium = "Terbium"
AtomName_Dyxprosium = "Dyxprosium"
AtomName_Holmium = "Holmium"
AtomName_Erbium = "Erbium"
AtomName_Thulium = "Thulium"
AtomName_Ytterbium = "Ytterbium"
AtomName_Lutetium = "Lutetium"
AtomName_Hafnium = "Hafnium"
AtomName_Tantalum = "Tantalum"
AtomName_Tungsten = "Tungsten"
AtomName_Rhenium = "Rhenium"
AtomName_Osmium = "Osmium"
AtomName_Iridium = "Iridium"
AtomName_Platinum = "Platinum"
AtomName_Gold = "Gold"
AtomName_Mercury = "Mercury"
AtomName_Thalium = "Thalium"
AtomName_Lead = "Lead"
AtomName_Bismuth = "Bismuth"
AtomName_Polonium = "Polonium"
AtomName_Astatine = "Astatine"
AtomName_Radon = "Radon"
AtomName_Francium = "Francium"
AtomName_Radium = "Radium"
AtomName_Actinium = "Actinium"
AtomName_Thorium = "Thorium"
AtomName_Protactinium = "Protactinium"
AtomName_Uranium = "Uranium"
AtomName_Neptunium = "Neptunium"
AtomName_Plutonium = "Plutonium"
AtomName_Americium = "Americium"
AtomName_Curium = "Curium"
AtomName_Berkelium = "Berkelium"
AtomName_Californium = "Californium"
AtomName_Einsteinium = "Einsteinium"
AtomName_Fermium = "Fermium"
AtomName_Mendelevium = "Mendelevium"
AtomName_Nobelium = "Nobelium"
AtomName_Lawrencium = "Lawrencium"
AtomName_Rutherfordium = "Rutherfordium"
AtomName_Dubnium = "Dubnium"
AtomName_Seaborgium = "Seaborgium"
AtomName_Bohrium = "Bohrium"
AtomName_Hassium = "Hassium"
AtomName_Meitnerium = "Meitnerium"
AtomName_Darmstadtium = "Darmstadtium"
AtomName_Roentgenium = "Roentgenium"
AtomName_Copernicium = "Copernicium"
AtomName_Nihonium = "Nihonium"
AtomName_Flerovium = "Flerovium"
AtomName_Moscovium = "Moscovium"
AtomName_Livermorium = "Livermorium"
AtomName_Tennessine = "Tennessine"
AtomName_Oganesson = "Oganesson"
Empty file added atomsName.es.i18n
Empty file.
Empty file added atomsName.fr.i18n
Empty file.
Empty file added atomsName.hu.i18n
Empty file.
Empty file added atomsName.it.i18n
Empty file.
Empty file added atomsName.nl.i18n
Empty file.
Empty file added atomsName.pt.i18n
Empty file.
118 changes: 118 additions & 0 deletions atomsName.universal.i18n
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
AtomName_Hydrogen = "Hydrogen"
AtomName_Helium = "Helium"
AtomName_Lithium = "Lithium"
AtomName_Beryllium = "Beryllium"
AtomName_Boron = "Boron"
AtomName_Carbon = "Carbon"
AtomName_Nitrogen = "Nitrogen"
AtomName_Oxygen = "Oxygen"
AtomName_Fluorine = "Fluorine"
AtomName_Neon = "Neon"
AtomName_Sodium = "Sodium"
AtomName_Magnesium = "Magnesium"
AtomName_Aluminium = "Aluminium"
AtomName_Silicon = "Silicon"
AtomName_Phosphorus = "Phosphorus"
AtomName_Sulfur = "Sulfur"
AtomName_Chlorine = "Chlorine"
AtomName_Argon = "Argon"
AtomName_Potassium = "Potassium"
AtomName_Calcium = "Calcium"
AtomName_Scandium = "Scandium"
AtomName_Titanium = "Titanium"
AtomName_Vanadium = "Vanadium"
AtomName_Chromium = "Chromium"
AtomName_Manganese = "Manganese"
AtomName_Iron = "Iron"
AtomName_Cobalt = "Cobalt"
AtomName_Nickel = "Nickel"
AtomName_Copper = "Copper"
AtomName_Zinc = "Zinc"
AtomName_Gallium = "Gallium"
AtomName_Germanium = "Germanium"
AtomName_Arsenic = "Arsenic"
AtomName_Selenium = "Selenium"
AtomName_Bromine = "Bromine"
AtomName_Krypton = "Krypton"
AtomName_Rubidium = "Rubidium"
AtomName_Strontium = "Strontium"
AtomName_Yttrium = "Yttrium"
AtomName_Zirconium = "Zirconium"
AtomName_Niobium = "Niobium"
AtomName_Molybdenum = "Molybdenum"
AtomName_Technetium = "Technetium"
AtomName_Ruthemium = "Ruthemium"
AtomName_Rhodium = "Rhodium"
AtomName_Palladium = "Palladium"
AtomName_Silver = "Silver"
AtomName_Cadmium = "Cadmium"
AtomName_Indium = "Indium"
AtomName_Tin = "Tin"
AtomName_Antimony = "Antimony"
AtomName_Tellurium = "Tellurium"
AtomName_Indine = "Indine"
AtomName_Xenon = "Xenon"
AtomName_Caesium = "Caesium"
AtomName_Barium = "Barium"
AtomName_Lanthanum = "Lanthanum"
AtomName_Cerium = "Cerium"
AtomName_Praseodymium = "Praseodymium"
AtomName_Neodymium = "Neodymium"
AtomName_Promethium = "Promethium"
AtomName_Samarium = "Samarium"
AtomName_Europium = "Europium"
AtomName_Gadolinium = "Gadolinium"
AtomName_Terbium = "Terbium"
AtomName_Dyxprosium = "Dyxprosium"
AtomName_Holmium = "Holmium"
AtomName_Erbium = "Erbium"
AtomName_Thulium = "Thulium"
AtomName_Ytterbium = "Ytterbium"
AtomName_Lutetium = "Lutetium"
AtomName_Hafnium = "Hafnium"
AtomName_Tantalum = "Tantalum"
AtomName_Tungsten = "Tungsten"
AtomName_Rhenium = "Rhenium"
AtomName_Osmium = "Osmium"
AtomName_Iridium = "Iridium"
AtomName_Platinum = "Platinum"
AtomName_Gold = "Gold"
AtomName_Mercury = "Mercury"
AtomName_Thalium = "Thalium"
AtomName_Lead = "Lead"
AtomName_Bismuth = "Bismuth"
AtomName_Polonium = "Polonium"
AtomName_Astatine = "Astatine"
AtomName_Radon = "Radon"
AtomName_Francium = "Francium"
AtomName_Radium = "Radium"
AtomName_Actinium = "Actinium"
AtomName_Thorium = "Thorium"
AtomName_Protactinium = "Protactinium"
AtomName_Uranium = "Uranium"
AtomName_Neptunium = "Neptunium"
AtomName_Plutonium = "Plutonium"
AtomName_Americium = "Americium"
AtomName_Curium = "Curium"
AtomName_Berkelium = "Berkelium"
AtomName_Californium = "Californium"
AtomName_Einsteinium = "Einsteinium"
AtomName_Fermium = "Fermium"
AtomName_Mendelevium = "Mendelevium"
AtomName_Nobelium = "Nobelium"
AtomName_Lawrencium = "Lawrencium"
AtomName_Rutherfordium = "Rutherfordium"
AtomName_Dubnium = "Dubnium"
AtomName_Seaborgium = "Seaborgium"
AtomName_Bohrium = "Bohrium"
AtomName_Hassium = "Hassium"
AtomName_Meitnerium = "Meitnerium"
AtomName_Darmstadtium = "Darmstadtium"
AtomName_Roentgenium = "Roentgenium"
AtomName_Copernicium = "Copernicium"
AtomName_Nihonium = "Nihonium"
AtomName_Flerovium = "Flerovium"
AtomName_Moscovium = "Moscovium"
AtomName_Livermorium = "Livermorium"
AtomName_Tennessine = "Tennessine"
AtomName_Oganesson = "Oganesson"
Empty file added base.de.i18n
Empty file.
2 changes: 0 additions & 2 deletions base.en.i18n
Original file line number Diff line number Diff line change
@@ -1,2 +0,0 @@
AtomicApp = "Atomic"
AtomicAppCapital = "ATOMIC"
Empty file added base.es.i18n
Empty file.
Empty file added base.fr.i18n
Empty file.
Empty file added base.hu.i18n
Empty file.
Empty file added base.it.i18n
Empty file.
Empty file added base.nl.i18n
Empty file.
Empty file added base.pt.i18n
Empty file.
2 changes: 2 additions & 0 deletions base.universal.i18n
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
AtomicApp = "Atomic"
AtomicAppCapital = "ATOMIC"